diff --git a/clients/client-accessanalyzer/src/protocols/Aws_restJson1.ts b/clients/client-accessanalyzer/src/protocols/Aws_restJson1.ts index a29b15027c0f2..69bf883a7a7c7 100644 --- a/clients/client-accessanalyzer/src/protocols/Aws_restJson1.ts +++ b/clients/client-accessanalyzer/src/protocols/Aws_restJson1.ts @@ -2811,7 +2811,7 @@ const se_CloudTrailDetails = (input: CloudTrailDetails, context: __SerdeContext) accessRole: [], endTime: (_) => _.toISOString().split(".")[0] + "Z", startTime: (_) => _.toISOString().split(".")[0] + "Z", - trails: (_) => _json(_), + trails: _json, }); }; diff --git a/clients/client-acm-pca/src/protocols/Aws_json1_1.ts b/clients/client-acm-pca/src/protocols/Aws_json1_1.ts index 30256e259ff7b..f7223c6052690 100644 --- a/clients/client-acm-pca/src/protocols/Aws_json1_1.ts +++ b/clients/client-acm-pca/src/protocols/Aws_json1_1.ts @@ -2109,9 +2109,9 @@ const se_ImportCertificateAuthorityCertificateRequest = ( context: __SerdeContext ): any => { return take(input, { - Certificate: (_) => context.base64Encoder(_), + Certificate: context.base64Encoder, CertificateAuthorityArn: [], - CertificateChain: (_) => context.base64Encoder(_), + CertificateChain: context.base64Encoder, }); }; @@ -2120,14 +2120,14 @@ const se_ImportCertificateAuthorityCertificateRequest = ( */ const se_IssueCertificateRequest = (input: IssueCertificateRequest, context: __SerdeContext): any => { return take(input, { - ApiPassthrough: (_) => _json(_), + ApiPassthrough: _json, CertificateAuthorityArn: [], - Csr: (_) => context.base64Encoder(_), + Csr: context.base64Encoder, IdempotencyToken: [], SigningAlgorithm: [], TemplateArn: [], - Validity: (_) => _json(_), - ValidityNotBefore: (_) => _json(_), + Validity: _json, + ValidityNotBefore: _json, }); }; diff --git a/clients/client-acm/src/protocols/Aws_json1_1.ts b/clients/client-acm/src/protocols/Aws_json1_1.ts index 99063a52322a0..5516ca93e3ccd 100644 --- a/clients/client-acm/src/protocols/Aws_json1_1.ts +++ b/clients/client-acm/src/protocols/Aws_json1_1.ts @@ -1368,7 +1368,7 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont const se_ExportCertificateRequest = (input: ExportCertificateRequest, context: __SerdeContext): any => { return take(input, { CertificateArn: [], - Passphrase: (_) => context.base64Encoder(_), + Passphrase: context.base64Encoder, }); }; @@ -1383,11 +1383,11 @@ const se_ExportCertificateRequest = (input: ExportCertificateRequest, context: _ */ const se_ImportCertificateRequest = (input: ImportCertificateRequest, context: __SerdeContext): any => { return take(input, { - Certificate: (_) => context.base64Encoder(_), + Certificate: context.base64Encoder, CertificateArn: [], - CertificateChain: (_) => context.base64Encoder(_), - PrivateKey: (_) => context.base64Encoder(_), - Tags: (_) => _json(_), + CertificateChain: context.base64Encoder, + PrivateKey: context.base64Encoder, + Tags: _json, }); }; diff --git a/clients/client-alexa-for-business/src/protocols/Aws_json1_1.ts b/clients/client-alexa-for-business/src/protocols/Aws_json1_1.ts index 1196d246cce6f..88778e4aafb7a 100644 --- a/clients/client-alexa-for-business/src/protocols/Aws_json1_1.ts +++ b/clients/client-alexa-for-business/src/protocols/Aws_json1_1.ts @@ -6242,7 +6242,7 @@ const se_CreateAddressBookRequest = (input: CreateAddressBookRequest, context: _ ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), Description: [], Name: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -6255,13 +6255,13 @@ const se_CreateBusinessReportScheduleRequest = ( ): any => { return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), - ContentRange: (_) => _json(_), + ContentRange: _json, Format: [], - Recurrence: (_) => _json(_), + Recurrence: _json, S3BucketName: [], S3KeyPrefix: [], ScheduleName: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -6273,10 +6273,10 @@ const se_CreateConferenceProviderRequest = (input: CreateConferenceProviderReque ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), ConferenceProviderName: [], ConferenceProviderType: [], - IPDialIn: (_) => _json(_), - MeetingSetting: (_) => _json(_), - PSTNDialIn: (_) => _json(_), - Tags: (_) => _json(_), + IPDialIn: _json, + MeetingSetting: _json, + PSTNDialIn: _json, + Tags: _json, }); }; @@ -6290,9 +6290,9 @@ const se_CreateContactRequest = (input: CreateContactRequest, context: __SerdeCo FirstName: [], LastName: [], PhoneNumber: [], - PhoneNumbers: (_) => _json(_), - SipAddresses: (_) => _json(_), - Tags: (_) => _json(_), + PhoneNumbers: _json, + SipAddresses: _json, + Tags: _json, }); }; @@ -6306,7 +6306,7 @@ const se_CreateGatewayGroupRequest = (input: CreateGatewayGroupRequest, context: ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), Description: [], Name: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -6328,8 +6328,8 @@ const se_CreateNetworkProfileRequest = (input: CreateNetworkProfileRequest, cont NextPassword: [], SecurityType: [], Ssid: [], - Tags: (_) => _json(_), - TrustAnchors: (_) => _json(_), + Tags: _json, + TrustAnchors: _json, }); }; @@ -6344,11 +6344,11 @@ const se_CreateProfileRequest = (input: CreateProfileRequest, context: __SerdeCo DistanceUnit: [], Locale: [], MaxVolumeLimit: [], - MeetingRoomConfiguration: (_) => _json(_), + MeetingRoomConfiguration: _json, PSTNEnabled: [], ProfileName: [], SetupModeDisabled: [], - Tags: (_) => _json(_), + Tags: _json, TemperatureUnit: [], Timezone: [], WakeWord: [], @@ -6367,7 +6367,7 @@ const se_CreateRoomRequest = (input: CreateRoomRequest, context: __SerdeContext) ProfileArn: [], ProviderCalendarId: [], RoomName: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -6379,7 +6379,7 @@ const se_CreateSkillGroupRequest = (input: CreateSkillGroupRequest, context: __S ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), Description: [], SkillGroupName: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -6392,7 +6392,7 @@ const se_CreateUserRequest = (input: CreateUserRequest, context: __SerdeContext) Email: [], FirstName: [], LastName: [], - Tags: (_) => _json(_), + Tags: _json, UserId: [], }); }; @@ -6543,8 +6543,8 @@ const se_CreateUserRequest = (input: CreateUserRequest, context: __SerdeContext) const se_SendAnnouncementRequest = (input: SendAnnouncementRequest, context: __SerdeContext): any => { return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), - Content: (_) => _json(_), - RoomFilters: (_) => _json(_), + Content: _json, + RoomFilters: _json, TimeToLiveInSeconds: [], }); }; diff --git a/clients/client-amplifybackend/src/protocols/Aws_restJson1.ts b/clients/client-amplifybackend/src/protocols/Aws_restJson1.ts index 2529feba598ae..7ec796785c240 100644 --- a/clients/client-amplifybackend/src/protocols/Aws_restJson1.ts +++ b/clients/client-amplifybackend/src/protocols/Aws_restJson1.ts @@ -3165,7 +3165,7 @@ const se_BackendAPIAppSyncAuthSettings = (input: BackendAPIAppSyncAuthSettings, return take(input, { cognitoUserPoolId: [, , `CognitoUserPoolId`], description: [, , `Description`], - expirationTime: [, (_) => __serializeFloat(_), `ExpirationTime`], + expirationTime: [, __serializeFloat, `ExpirationTime`], openIDAuthTTL: [, , `OpenIDAuthTTL`], openIDClientId: [, , `OpenIDClientId`], openIDIatTTL: [, , `OpenIDIatTTL`], @@ -3234,8 +3234,8 @@ const se_BackendAuthSocialProviderConfig = (input: BackendAuthSocialProviderConf */ const se_BackendStoragePermissions = (input: BackendStoragePermissions, context: __SerdeContext): any => { return take(input, { - authenticated: [, (_) => _json(_), `Authenticated`], - unAuthenticated: [, (_) => _json(_), `UnAuthenticated`], + authenticated: [, _json, `Authenticated`], + unAuthenticated: [, _json, `UnAuthenticated`], }); }; @@ -3283,9 +3283,9 @@ const se_CreateBackendAuthOAuthConfig = (input: CreateBackendAuthOAuthConfig, co return take(input, { domainPrefix: [, , `DomainPrefix`], oAuthGrantType: [, , `OAuthGrantType`], - oAuthScopes: [, (_) => _json(_), `OAuthScopes`], - redirectSignInURIs: [, (_) => _json(_), `RedirectSignInURIs`], - redirectSignOutURIs: [, (_) => _json(_), `RedirectSignOutURIs`], + oAuthScopes: [, _json, `OAuthScopes`], + redirectSignInURIs: [, _json, `RedirectSignInURIs`], + redirectSignOutURIs: [, _json, `RedirectSignOutURIs`], socialProviderSettings: [, (_) => se_SocialProviderSettings(_, context), `SocialProviderSettings`], }); }; @@ -3298,8 +3298,8 @@ const se_CreateBackendAuthPasswordPolicyConfig = ( context: __SerdeContext ): any => { return take(input, { - additionalConstraints: [, (_) => _json(_), `AdditionalConstraints`], - minimumLength: [, (_) => __serializeFloat(_), `MinimumLength`], + additionalConstraints: [, _json, `AdditionalConstraints`], + minimumLength: [, __serializeFloat, `MinimumLength`], }); }; @@ -3324,7 +3324,7 @@ const se_CreateBackendAuthUserPoolConfig = (input: CreateBackendAuthUserPoolConf mfa: [, (_) => se_CreateBackendAuthMFAConfig(_, context), `Mfa`], oAuth: [, (_) => se_CreateBackendAuthOAuthConfig(_, context), `OAuth`], passwordPolicy: [, (_) => se_CreateBackendAuthPasswordPolicyConfig(_, context), `PasswordPolicy`], - requiredSignUpAttributes: [, (_) => _json(_), `RequiredSignUpAttributes`], + requiredSignUpAttributes: [, _json, `RequiredSignUpAttributes`], signInMethod: [, , `SignInMethod`], userPoolName: [, , `UserPoolName`], verificationMessage: [, (_) => se_CreateBackendAuthVerificationMessageConfig(_, context), `VerificationMessage`], @@ -3413,7 +3413,7 @@ const se_LoginAuthConfigReqObj = (input: LoginAuthConfigReqObj, context: __Serde */ const se_Settings = (input: Settings, context: __SerdeContext): any => { return take(input, { - mfaTypes: [, (_) => _json(_), `MfaTypes`], + mfaTypes: [, _json, `MfaTypes`], smsMessage: [, , `SmsMessage`], }); }; @@ -3482,9 +3482,9 @@ const se_UpdateBackendAuthOAuthConfig = (input: UpdateBackendAuthOAuthConfig, co return take(input, { domainPrefix: [, , `DomainPrefix`], oAuthGrantType: [, , `OAuthGrantType`], - oAuthScopes: [, (_) => _json(_), `OAuthScopes`], - redirectSignInURIs: [, (_) => _json(_), `RedirectSignInURIs`], - redirectSignOutURIs: [, (_) => _json(_), `RedirectSignOutURIs`], + oAuthScopes: [, _json, `OAuthScopes`], + redirectSignInURIs: [, _json, `RedirectSignInURIs`], + redirectSignOutURIs: [, _json, `RedirectSignOutURIs`], socialProviderSettings: [, (_) => se_SocialProviderSettings(_, context), `SocialProviderSettings`], }); }; @@ -3497,8 +3497,8 @@ const se_UpdateBackendAuthPasswordPolicyConfig = ( context: __SerdeContext ): any => { return take(input, { - additionalConstraints: [, (_) => _json(_), `AdditionalConstraints`], - minimumLength: [, (_) => __serializeFloat(_), `MinimumLength`], + additionalConstraints: [, _json, `AdditionalConstraints`], + minimumLength: [, __serializeFloat, `MinimumLength`], }); }; diff --git a/clients/client-amplifyuibuilder/src/protocols/Aws_restJson1.ts b/clients/client-amplifyuibuilder/src/protocols/Aws_restJson1.ts index 2b239ac510b32..5abb9661f4c9e 100644 --- a/clients/client-amplifyuibuilder/src/protocols/Aws_restJson1.ts +++ b/clients/client-amplifyuibuilder/src/protocols/Aws_restJson1.ts @@ -2304,10 +2304,10 @@ const se_ComponentConditionProperty = (input: ComponentConditionProperty, contex */ const se_ComponentDataConfiguration = (input: ComponentDataConfiguration, context: __SerdeContext): any => { return take(input, { - identifiers: (_) => _json(_), + identifiers: _json, model: [], predicate: (_) => se_Predicate(_, context), - sort: (_) => _json(_), + sort: _json, }); }; @@ -2357,9 +2357,9 @@ const se_ComponentProperties = (input: Record, contex */ const se_ComponentProperty = (input: ComponentProperty, context: __SerdeContext): any => { return take(input, { - bindingProperties: (_) => _json(_), - bindings: (_) => _json(_), - collectionBindingProperties: (_) => _json(_), + bindingProperties: _json, + bindings: _json, + collectionBindingProperties: _json, componentName: [], concat: (_) => se_ComponentPropertyList(_, context), condition: (_) => se_ComponentConditionProperty(_, context), @@ -2405,12 +2405,12 @@ const se_CreateComponentData = (input: CreateComponentData, context: __SerdeCont componentType: [], events: (_) => se_ComponentEvents(_, context), name: [], - overrides: (_) => _json(_), + overrides: _json, properties: (_) => se_ComponentProperties(_, context), schemaVersion: [], sourceId: [], - tags: (_) => _json(_), - variants: (_) => _json(_), + tags: _json, + variants: _json, }); }; @@ -2419,16 +2419,16 @@ const se_CreateComponentData = (input: CreateComponentData, context: __SerdeCont */ const se_CreateFormData = (input: CreateFormData, context: __SerdeContext): any => { return take(input, { - cta: (_) => _json(_), - dataType: (_) => _json(_), + cta: _json, + dataType: _json, fields: (_) => se_FieldsMap(_, context), formActionType: [], labelDecorator: [], name: [], schemaVersion: [], - sectionalElements: (_) => _json(_), - style: (_) => _json(_), - tags: (_) => _json(_), + sectionalElements: _json, + style: _json, + tags: _json, }); }; @@ -2439,7 +2439,7 @@ const se_CreateThemeData = (input: CreateThemeData, context: __SerdeContext): an return take(input, { name: [], overrides: (_) => se_ThemeValuesList(_, context), - tags: (_) => _json(_), + tags: _json, values: (_) => se_ThemeValuesList(_, context), }); }; @@ -2454,8 +2454,8 @@ const se_FieldConfig = (input: FieldConfig, context: __SerdeContext): any => { excluded: [], inputType: (_) => se_FieldInputConfig(_, context), label: [], - position: (_) => _json(_), - validations: (_) => _json(_), + position: _json, + validations: _json, }); }; @@ -2468,15 +2468,15 @@ const se_FieldInputConfig = (input: FieldInputConfig, context: __SerdeContext): defaultCountryCode: [], defaultValue: [], descriptiveText: [], - fileUploaderConfig: (_) => _json(_), + fileUploaderConfig: _json, isArray: [], - maxValue: (_) => __serializeFloat(_), - minValue: (_) => __serializeFloat(_), + maxValue: __serializeFloat, + minValue: __serializeFloat, name: [], placeholder: [], readOnly: [], required: [], - step: (_) => __serializeFloat(_), + step: __serializeFloat, type: [], value: [], valueMappings: (_) => se_ValueMappings(_, context), @@ -2523,7 +2523,7 @@ const se_FieldsMap = (input: Record, context: __SerdeContex */ const se_FormInputValueProperty = (input: FormInputValueProperty, context: __SerdeContext): any => { return take(input, { - bindingProperties: (_) => _json(_), + bindingProperties: _json, concat: (_) => se_FormInputValuePropertyList(_, context), value: [], }); @@ -2645,11 +2645,11 @@ const se_UpdateComponentData = (input: UpdateComponentData, context: __SerdeCont events: (_) => se_ComponentEvents(_, context), id: [], name: [], - overrides: (_) => _json(_), + overrides: _json, properties: (_) => se_ComponentProperties(_, context), schemaVersion: [], sourceId: [], - variants: (_) => _json(_), + variants: _json, }); }; @@ -2658,15 +2658,15 @@ const se_UpdateComponentData = (input: UpdateComponentData, context: __SerdeCont */ const se_UpdateFormData = (input: UpdateFormData, context: __SerdeContext): any => { return take(input, { - cta: (_) => _json(_), - dataType: (_) => _json(_), + cta: _json, + dataType: _json, fields: (_) => se_FieldsMap(_, context), formActionType: [], labelDecorator: [], name: [], schemaVersion: [], - sectionalElements: (_) => _json(_), - style: (_) => _json(_), + sectionalElements: _json, + style: _json, }); }; @@ -2710,7 +2710,7 @@ const se_ValueMappingList = (input: ValueMapping[], context: __SerdeContext): an */ const se_ValueMappings = (input: ValueMappings, context: __SerdeContext): any => { return take(input, { - bindingProperties: (_) => _json(_), + bindingProperties: _json, values: (_) => se_ValueMappingList(_, context), }); }; diff --git a/clients/client-api-gateway/src/protocols/Aws_restJson1.ts b/clients/client-api-gateway/src/protocols/Aws_restJson1.ts index bdb5f6549a2d9..209a2c27c8018 100644 --- a/clients/client-api-gateway/src/protocols/Aws_restJson1.ts +++ b/clients/client-api-gateway/src/protocols/Aws_restJson1.ts @@ -11664,8 +11664,8 @@ const se_ApiStage = (input: ApiStage, context: __SerdeContext): any => { const se_CanarySettings = (input: CanarySettings, context: __SerdeContext): any => { return take(input, { deploymentId: [], - percentTraffic: (_) => __serializeFloat(_), - stageVariableOverrides: (_) => _json(_), + percentTraffic: __serializeFloat, + stageVariableOverrides: _json, useStageCache: [], }); }; @@ -11675,8 +11675,8 @@ const se_CanarySettings = (input: CanarySettings, context: __SerdeContext): any */ const se_DeploymentCanarySettings = (input: DeploymentCanarySettings, context: __SerdeContext): any => { return take(input, { - percentTraffic: (_) => __serializeFloat(_), - stageVariableOverrides: (_) => _json(_), + percentTraffic: __serializeFloat, + stageVariableOverrides: _json, useStageCache: [], }); }; @@ -11739,7 +11739,7 @@ const se_MapOfApiStageThrottleSettings = (input: Record { return take(input, { burstLimit: [], - rateLimit: (_) => __serializeFloat(_), + rateLimit: __serializeFloat, }); }; diff --git a/clients/client-apigatewayv2/src/protocols/Aws_restJson1.ts b/clients/client-apigatewayv2/src/protocols/Aws_restJson1.ts index 27fc96aec5cc0..4f18d93c047b7 100644 --- a/clients/client-apigatewayv2/src/protocols/Aws_restJson1.ts +++ b/clients/client-apigatewayv2/src/protocols/Aws_restJson1.ts @@ -6709,10 +6709,10 @@ const se_AccessLogSettings = (input: AccessLogSettings, context: __SerdeContext) const se_Cors = (input: Cors, context: __SerdeContext): any => { return take(input, { allowCredentials: [, , `AllowCredentials`], - allowHeaders: [, (_) => _json(_), `AllowHeaders`], - allowMethods: [, (_) => _json(_), `AllowMethods`], - allowOrigins: [, (_) => _json(_), `AllowOrigins`], - exposeHeaders: [, (_) => _json(_), `ExposeHeaders`], + allowHeaders: [, _json, `AllowHeaders`], + allowMethods: [, _json, `AllowMethods`], + allowOrigins: [, _json, `AllowOrigins`], + exposeHeaders: [, _json, `ExposeHeaders`], maxAge: [, , `MaxAge`], }); }; @@ -6761,7 +6761,7 @@ const se_DomainNameConfigurations = (input: DomainNameConfiguration[], context: */ const se_JWTConfiguration = (input: JWTConfiguration, context: __SerdeContext): any => { return take(input, { - audience: [, (_) => _json(_), `Audience`], + audience: [, _json, `Audience`], issuer: [, , `Issuer`], }); }; @@ -6811,7 +6811,7 @@ const se_RouteSettings = (input: RouteSettings, context: __SerdeContext): any => detailedMetricsEnabled: [, , `DetailedMetricsEnabled`], loggingLevel: [, , `LoggingLevel`], throttlingBurstLimit: [, , `ThrottlingBurstLimit`], - throttlingRateLimit: [, (_) => __serializeFloat(_), `ThrottlingRateLimit`], + throttlingRateLimit: [, __serializeFloat, `ThrottlingRateLimit`], }); }; diff --git a/clients/client-application-auto-scaling/src/protocols/Aws_json1_1.ts b/clients/client-application-auto-scaling/src/protocols/Aws_json1_1.ts index d79fd8461bd04..96c3a4de739e6 100644 --- a/clients/client-application-auto-scaling/src/protocols/Aws_json1_1.ts +++ b/clients/client-application-auto-scaling/src/protocols/Aws_json1_1.ts @@ -1173,7 +1173,7 @@ const se_PutScheduledActionRequest = (input: PutScheduledActionRequest, context: EndTime: (_) => Math.round(_.getTime() / 1000), ResourceId: [], ScalableDimension: [], - ScalableTargetAction: (_) => _json(_), + ScalableTargetAction: _json, Schedule: [], ScheduledActionName: [], ServiceNamespace: [], @@ -1193,8 +1193,8 @@ const se_PutScheduledActionRequest = (input: PutScheduledActionRequest, context: */ const se_StepAdjustment = (input: StepAdjustment, context: __SerdeContext): any => { return take(input, { - MetricIntervalLowerBound: (_) => __serializeFloat(_), - MetricIntervalUpperBound: (_) => __serializeFloat(_), + MetricIntervalLowerBound: __serializeFloat, + MetricIntervalUpperBound: __serializeFloat, ScalingAdjustment: [], }); }; @@ -1251,12 +1251,12 @@ const se_TargetTrackingScalingPolicyConfiguration = ( context: __SerdeContext ): any => { return take(input, { - CustomizedMetricSpecification: (_) => _json(_), + CustomizedMetricSpecification: _json, DisableScaleIn: [], - PredefinedMetricSpecification: (_) => _json(_), + PredefinedMetricSpecification: _json, ScaleInCooldown: [], ScaleOutCooldown: [], - TargetValue: (_) => __serializeFloat(_), + TargetValue: __serializeFloat, }); }; diff --git a/clients/client-application-discovery-service/src/protocols/Aws_json1_1.ts b/clients/client-application-discovery-service/src/protocols/Aws_json1_1.ts index 43d440dac96f5..e9560242b98a7 100644 --- a/clients/client-application-discovery-service/src/protocols/Aws_json1_1.ts +++ b/clients/client-application-discovery-service/src/protocols/Aws_json1_1.ts @@ -2188,8 +2188,8 @@ const de_ServerInternalErrorExceptionRes = async ( const se_StartExportTaskRequest = (input: StartExportTaskRequest, context: __SerdeContext): any => { return take(input, { endTime: (_) => Math.round(_.getTime() / 1000), - exportDataFormat: (_) => _json(_), - filters: (_) => _json(_), + exportDataFormat: _json, + filters: _json, startTime: (_) => Math.round(_.getTime() / 1000), }); }; diff --git a/clients/client-athena/src/protocols/Aws_json1_1.ts b/clients/client-athena/src/protocols/Aws_json1_1.ts index 03e34d83b4f40..4f025808a278a 100644 --- a/clients/client-athena/src/protocols/Aws_json1_1.ts +++ b/clients/client-athena/src/protocols/Aws_json1_1.ts @@ -4346,11 +4346,11 @@ const se_DeleteNamedQueryInput = (input: DeleteNamedQueryInput, context: __Serde const se_StartQueryExecutionInput = (input: StartQueryExecutionInput, context: __SerdeContext): any => { return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), - ExecutionParameters: (_) => _json(_), - QueryExecutionContext: (_) => _json(_), + ExecutionParameters: _json, + QueryExecutionContext: _json, QueryString: [], - ResultConfiguration: (_) => _json(_), - ResultReuseConfiguration: (_) => _json(_), + ResultConfiguration: _json, + ResultReuseConfiguration: _json, WorkGroup: [], }); }; diff --git a/clients/client-auto-scaling-plans/src/protocols/Aws_json1_1.ts b/clients/client-auto-scaling-plans/src/protocols/Aws_json1_1.ts index 279680cd72dfa..57a5bfc6b8b61 100644 --- a/clients/client-auto-scaling-plans/src/protocols/Aws_json1_1.ts +++ b/clients/client-auto-scaling-plans/src/protocols/Aws_json1_1.ts @@ -573,7 +573,7 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont */ const se_CreateScalingPlanRequest = (input: CreateScalingPlanRequest, context: __SerdeContext): any => { return take(input, { - ApplicationSource: (_) => _json(_), + ApplicationSource: _json, ScalingInstructions: (_) => se_ScalingInstructions(_, context), ScalingPlanName: [], }); @@ -621,11 +621,11 @@ const se_GetScalingPlanResourceForecastDataRequest = ( */ const se_ScalingInstruction = (input: ScalingInstruction, context: __SerdeContext): any => { return take(input, { - CustomizedLoadMetricSpecification: (_) => _json(_), + CustomizedLoadMetricSpecification: _json, DisableDynamicScaling: [], MaxCapacity: [], MinCapacity: [], - PredefinedLoadMetricSpecification: (_) => _json(_), + PredefinedLoadMetricSpecification: _json, PredictiveScalingMaxCapacityBehavior: [], PredictiveScalingMaxCapacityBuffer: [], PredictiveScalingMode: [], @@ -662,13 +662,13 @@ const se_ScalingInstructions = (input: ScalingInstruction[], context: __SerdeCon */ const se_TargetTrackingConfiguration = (input: TargetTrackingConfiguration, context: __SerdeContext): any => { return take(input, { - CustomizedScalingMetricSpecification: (_) => _json(_), + CustomizedScalingMetricSpecification: _json, DisableScaleIn: [], EstimatedInstanceWarmup: [], - PredefinedScalingMetricSpecification: (_) => _json(_), + PredefinedScalingMetricSpecification: _json, ScaleInCooldown: [], ScaleOutCooldown: [], - TargetValue: (_) => __serializeFloat(_), + TargetValue: __serializeFloat, }); }; @@ -688,7 +688,7 @@ const se_TargetTrackingConfigurations = (input: TargetTrackingConfiguration[], c */ const se_UpdateScalingPlanRequest = (input: UpdateScalingPlanRequest, context: __SerdeContext): any => { return take(input, { - ApplicationSource: (_) => _json(_), + ApplicationSource: _json, ScalingInstructions: (_) => se_ScalingInstructions(_, context), ScalingPlanName: [], ScalingPlanVersion: [], diff --git a/clients/client-backup/src/protocols/Aws_restJson1.ts b/clients/client-backup/src/protocols/Aws_restJson1.ts index 05aa2ae37a2a9..99db5c6a6855e 100644 --- a/clients/client-backup/src/protocols/Aws_restJson1.ts +++ b/clients/client-backup/src/protocols/Aws_restJson1.ts @@ -7057,8 +7057,8 @@ const se_DateRange = (input: DateRange, context: __SerdeContext): any => { const se_RecoveryPointSelection = (input: RecoveryPointSelection, context: __SerdeContext): any => { return take(input, { DateRange: (_) => se_DateRange(_, context), - ResourceIdentifiers: (_) => _json(_), - VaultNames: (_) => _json(_), + ResourceIdentifiers: _json, + VaultNames: _json, }); }; diff --git a/clients/client-batch/src/protocols/Aws_restJson1.ts b/clients/client-batch/src/protocols/Aws_restJson1.ts index 07327eb08590c..3c801a288d935 100644 --- a/clients/client-batch/src/protocols/Aws_restJson1.ts +++ b/clients/client-batch/src/protocols/Aws_restJson1.ts @@ -2285,7 +2285,7 @@ const se_FairsharePolicy = (input: FairsharePolicy, context: __SerdeContext): an const se_ShareAttributes = (input: ShareAttributes, context: __SerdeContext): any => { return take(input, { shareIdentifier: [], - weightFactor: (_) => __serializeFloat(_), + weightFactor: __serializeFloat, }); }; diff --git a/clients/client-billingconductor/src/protocols/Aws_restJson1.ts b/clients/client-billingconductor/src/protocols/Aws_restJson1.ts index b2f15dfc0ce53..5022308bc204f 100644 --- a/clients/client-billingconductor/src/protocols/Aws_restJson1.ts +++ b/clients/client-billingconductor/src/protocols/Aws_restJson1.ts @@ -3241,7 +3241,7 @@ const se_CustomLineItemChargeDetails = (input: CustomLineItemChargeDetails, cont */ const se_CustomLineItemFlatChargeDetails = (input: CustomLineItemFlatChargeDetails, context: __SerdeContext): any => { return take(input, { - ChargeValue: (_) => __serializeFloat(_), + ChargeValue: __serializeFloat, }); }; @@ -3255,8 +3255,8 @@ const se_CustomLineItemPercentageChargeDetails = ( context: __SerdeContext ): any => { return take(input, { - AssociatedValues: (_) => _json(_), - PercentageValue: (_) => __serializeFloat(_), + AssociatedValues: _json, + PercentageValue: __serializeFloat, }); }; @@ -3309,7 +3309,7 @@ const se_UpdateCustomLineItemFlatChargeDetails = ( context: __SerdeContext ): any => { return take(input, { - ChargeValue: (_) => __serializeFloat(_), + ChargeValue: __serializeFloat, }); }; @@ -3321,7 +3321,7 @@ const se_UpdateCustomLineItemPercentageChargeDetails = ( context: __SerdeContext ): any => { return take(input, { - PercentageValue: (_) => __serializeFloat(_), + PercentageValue: __serializeFloat, }); }; diff --git a/clients/client-budgets/src/protocols/Aws_json1_1.ts b/clients/client-budgets/src/protocols/Aws_json1_1.ts index a3c41330a06bb..1989b99e3aef5 100644 --- a/clients/client-budgets/src/protocols/Aws_json1_1.ts +++ b/clients/client-budgets/src/protocols/Aws_json1_1.ts @@ -2003,7 +2003,7 @@ const de_ThrottlingExceptionRes = async (parsedOutput: any, context: __SerdeCont const se_ActionThreshold = (input: ActionThreshold, context: __SerdeContext): any => { return take(input, { ActionThresholdType: [], - ActionThresholdValue: (_) => __serializeFloat(_), + ActionThresholdValue: __serializeFloat, }); }; @@ -2013,7 +2013,7 @@ const se_ActionThreshold = (input: ActionThreshold, context: __SerdeContext): an const se_AutoAdjustData = (input: AutoAdjustData, context: __SerdeContext): any => { return take(input, { AutoAdjustType: [], - HistoricalOptions: (_) => _json(_), + HistoricalOptions: _json, LastAutoAdjustTime: (_) => Math.round(_.getTime() / 1000), }); }; @@ -2024,14 +2024,14 @@ const se_AutoAdjustData = (input: AutoAdjustData, context: __SerdeContext): any const se_Budget = (input: Budget, context: __SerdeContext): any => { return take(input, { AutoAdjustData: (_) => se_AutoAdjustData(_, context), - BudgetLimit: (_) => _json(_), + BudgetLimit: _json, BudgetName: [], BudgetType: [], - CalculatedSpend: (_) => _json(_), - CostFilters: (_) => _json(_), - CostTypes: (_) => _json(_), + CalculatedSpend: _json, + CostFilters: _json, + CostTypes: _json, LastUpdatedTime: (_) => Math.round(_.getTime() / 1000), - PlannedBudgetLimits: (_) => _json(_), + PlannedBudgetLimits: _json, TimePeriod: (_) => se_TimePeriod(_, context), TimeUnit: [], }); @@ -2053,10 +2053,10 @@ const se_CreateBudgetActionRequest = (input: CreateBudgetActionRequest, context: ActionType: [], ApprovalModel: [], BudgetName: [], - Definition: (_) => _json(_), + Definition: _json, ExecutionRoleArn: [], NotificationType: [], - Subscribers: (_) => _json(_), + Subscribers: _json, }); }; @@ -2079,7 +2079,7 @@ const se_CreateNotificationRequest = (input: CreateNotificationRequest, context: AccountId: [], BudgetName: [], Notification: (_) => se_Notification(_, context), - Subscribers: (_) => _json(_), + Subscribers: _json, }); }; @@ -2091,7 +2091,7 @@ const se_CreateSubscriberRequest = (input: CreateSubscriberRequest, context: __S AccountId: [], BudgetName: [], Notification: (_) => se_Notification(_, context), - Subscriber: (_) => _json(_), + Subscriber: _json, }); }; @@ -2120,7 +2120,7 @@ const se_DeleteSubscriberRequest = (input: DeleteSubscriberRequest, context: __S AccountId: [], BudgetName: [], Notification: (_) => se_Notification(_, context), - Subscriber: (_) => _json(_), + Subscriber: _json, }); }; @@ -2207,7 +2207,7 @@ const se_Notification = (input: Notification, context: __SerdeContext): any => { ComparisonOperator: [], NotificationState: [], NotificationType: [], - Threshold: (_) => __serializeFloat(_), + Threshold: __serializeFloat, ThresholdType: [], }); }; @@ -2218,7 +2218,7 @@ const se_Notification = (input: Notification, context: __SerdeContext): any => { const se_NotificationWithSubscribers = (input: NotificationWithSubscribers, context: __SerdeContext): any => { return take(input, { Notification: (_) => se_Notification(_, context), - Subscribers: (_) => _json(_), + Subscribers: _json, }); }; @@ -2269,10 +2269,10 @@ const se_UpdateBudgetActionRequest = (input: UpdateBudgetActionRequest, context: ActionThreshold: (_) => se_ActionThreshold(_, context), ApprovalModel: [], BudgetName: [], - Definition: (_) => _json(_), + Definition: _json, ExecutionRoleArn: [], NotificationType: [], - Subscribers: (_) => _json(_), + Subscribers: _json, }); }; @@ -2305,9 +2305,9 @@ const se_UpdateSubscriberRequest = (input: UpdateSubscriberRequest, context: __S return take(input, { AccountId: [], BudgetName: [], - NewSubscriber: (_) => _json(_), + NewSubscriber: _json, Notification: (_) => se_Notification(_, context), - OldSubscriber: (_) => _json(_), + OldSubscriber: _json, }); }; diff --git a/clients/client-chime-sdk-media-pipelines/src/protocols/Aws_restJson1.ts b/clients/client-chime-sdk-media-pipelines/src/protocols/Aws_restJson1.ts index 2052207703c56..690de4d22b464 100644 --- a/clients/client-chime-sdk-media-pipelines/src/protocols/Aws_restJson1.ts +++ b/clients/client-chime-sdk-media-pipelines/src/protocols/Aws_restJson1.ts @@ -2241,7 +2241,7 @@ const se_KinesisVideoStreamRecordingSourceRuntimeConfiguration = ( ): any => { return take(input, { FragmentSelector: (_) => se_FragmentSelector(_, context), - Streams: (_) => _json(_), + Streams: _json, }); }; diff --git a/clients/client-clouddirectory/src/protocols/Aws_restJson1.ts b/clients/client-clouddirectory/src/protocols/Aws_restJson1.ts index 0dd96fa2cdb7c..c0303a23e1c5e 100644 --- a/clients/client-clouddirectory/src/protocols/Aws_restJson1.ts +++ b/clients/client-clouddirectory/src/protocols/Aws_restJson1.ts @@ -7740,7 +7740,7 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont */ const se_AttributeKeyAndValue = (input: AttributeKeyAndValue, context: __SerdeContext): any => { return take(input, { - Key: (_) => _json(_), + Key: _json, Value: (_) => se_TypedAttributeValue(_, context), }); }; @@ -7787,8 +7787,8 @@ const se_AttributeNameAndValueList = (input: AttributeNameAndValue[], context: _ const se_BatchAddFacetToObject = (input: BatchAddFacetToObject, context: __SerdeContext): any => { return take(input, { ObjectAttributeList: (_) => se_AttributeKeyAndValueList(_, context), - ObjectReference: (_) => _json(_), - SchemaFacet: (_) => _json(_), + ObjectReference: _json, + SchemaFacet: _json, }); }; @@ -7804,9 +7804,9 @@ const se_BatchAddFacetToObject = (input: BatchAddFacetToObject, context: __Serde const se_BatchAttachTypedLink = (input: BatchAttachTypedLink, context: __SerdeContext): any => { return take(input, { Attributes: (_) => se_AttributeNameAndValueList(_, context), - SourceObjectReference: (_) => _json(_), - TargetObjectReference: (_) => _json(_), - TypedLinkFacet: (_) => _json(_), + SourceObjectReference: _json, + TargetObjectReference: _json, + TypedLinkFacet: _json, }); }; @@ -7820,8 +7820,8 @@ const se_BatchCreateObject = (input: BatchCreateObject, context: __SerdeContext) BatchReferenceName: [], LinkName: [], ObjectAttributeList: (_) => se_AttributeKeyAndValueList(_, context), - ParentReference: (_) => _json(_), - SchemaFacet: (_) => _json(_), + ParentReference: _json, + SchemaFacet: _json, }); }; @@ -7847,7 +7847,7 @@ const se_BatchDetachTypedLink = (input: BatchDetachTypedLink, context: __SerdeCo */ const se_BatchGetLinkAttributes = (input: BatchGetLinkAttributes, context: __SerdeContext): any => { return take(input, { - AttributeNames: (_) => _json(_), + AttributeNames: _json, TypedLinkSpecifier: (_) => se_TypedLinkSpecifier(_, context), }); }; @@ -7864,10 +7864,10 @@ const se_BatchGetLinkAttributes = (input: BatchGetLinkAttributes, context: __Ser const se_BatchListIncomingTypedLinks = (input: BatchListIncomingTypedLinks, context: __SerdeContext): any => { return take(input, { FilterAttributeRanges: (_) => se_TypedLinkAttributeRangeList(_, context), - FilterTypedLink: (_) => _json(_), + FilterTypedLink: _json, MaxResults: [], NextToken: [], - ObjectReference: (_) => _json(_), + ObjectReference: _json, }); }; @@ -7876,7 +7876,7 @@ const se_BatchListIncomingTypedLinks = (input: BatchListIncomingTypedLinks, cont */ const se_BatchListIndex = (input: BatchListIndex, context: __SerdeContext): any => { return take(input, { - IndexReference: (_) => _json(_), + IndexReference: _json, MaxResults: [], NextToken: [], RangesOnIndexedValues: (_) => se_ObjectAttributeRangeList(_, context), @@ -7899,10 +7899,10 @@ const se_BatchListIndex = (input: BatchListIndex, context: __SerdeContext): any const se_BatchListOutgoingTypedLinks = (input: BatchListOutgoingTypedLinks, context: __SerdeContext): any => { return take(input, { FilterAttributeRanges: (_) => se_TypedLinkAttributeRangeList(_, context), - FilterTypedLink: (_) => _json(_), + FilterTypedLink: _json, MaxResults: [], NextToken: [], - ObjectReference: (_) => _json(_), + ObjectReference: _json, }); }; @@ -7916,19 +7916,19 @@ const se_BatchListOutgoingTypedLinks = (input: BatchListOutgoingTypedLinks, cont const se_BatchReadOperation = (input: BatchReadOperation, context: __SerdeContext): any => { return take(input, { GetLinkAttributes: (_) => se_BatchGetLinkAttributes(_, context), - GetObjectAttributes: (_) => _json(_), - GetObjectInformation: (_) => _json(_), - ListAttachedIndices: (_) => _json(_), + GetObjectAttributes: _json, + GetObjectInformation: _json, + ListAttachedIndices: _json, ListIncomingTypedLinks: (_) => se_BatchListIncomingTypedLinks(_, context), ListIndex: (_) => se_BatchListIndex(_, context), - ListObjectAttributes: (_) => _json(_), - ListObjectChildren: (_) => _json(_), - ListObjectParentPaths: (_) => _json(_), - ListObjectParents: (_) => _json(_), - ListObjectPolicies: (_) => _json(_), + ListObjectAttributes: _json, + ListObjectChildren: _json, + ListObjectParentPaths: _json, + ListObjectParents: _json, + ListObjectPolicies: _json, ListOutgoingTypedLinks: (_) => se_BatchListOutgoingTypedLinks(_, context), - ListPolicyAttachments: (_) => _json(_), - LookupPolicy: (_) => _json(_), + ListPolicyAttachments: _json, + LookupPolicy: _json, }); }; @@ -7961,7 +7961,7 @@ const se_BatchUpdateLinkAttributes = (input: BatchUpdateLinkAttributes, context: const se_BatchUpdateObjectAttributes = (input: BatchUpdateObjectAttributes, context: __SerdeContext): any => { return take(input, { AttributeUpdates: (_) => se_ObjectAttributeUpdateList(_, context), - ObjectReference: (_) => _json(_), + ObjectReference: _json, }); }; @@ -7971,18 +7971,18 @@ const se_BatchUpdateObjectAttributes = (input: BatchUpdateObjectAttributes, cont const se_BatchWriteOperation = (input: BatchWriteOperation, context: __SerdeContext): any => { return take(input, { AddFacetToObject: (_) => se_BatchAddFacetToObject(_, context), - AttachObject: (_) => _json(_), - AttachPolicy: (_) => _json(_), - AttachToIndex: (_) => _json(_), + AttachObject: _json, + AttachPolicy: _json, + AttachToIndex: _json, AttachTypedLink: (_) => se_BatchAttachTypedLink(_, context), - CreateIndex: (_) => _json(_), + CreateIndex: _json, CreateObject: (_) => se_BatchCreateObject(_, context), - DeleteObject: (_) => _json(_), - DetachFromIndex: (_) => _json(_), - DetachObject: (_) => _json(_), - DetachPolicy: (_) => _json(_), + DeleteObject: _json, + DetachFromIndex: _json, + DetachObject: _json, + DetachPolicy: _json, DetachTypedLink: (_) => se_BatchDetachTypedLink(_, context), - RemoveFacetFromObject: (_) => _json(_), + RemoveFacetFromObject: _json, UpdateLinkAttributes: (_) => se_BatchUpdateLinkAttributes(_, context), UpdateObjectAttributes: (_) => se_BatchUpdateObjectAttributes(_, context), }); @@ -8005,7 +8005,7 @@ const se_BatchWriteOperationList = (input: BatchWriteOperation[], context: __Ser const se_FacetAttribute = (input: FacetAttribute, context: __SerdeContext): any => { return take(input, { AttributeDefinition: (_) => se_FacetAttributeDefinition(_, context), - AttributeReference: (_) => _json(_), + AttributeReference: _json, Name: [], RequiredBehavior: [], }); @@ -8018,7 +8018,7 @@ const se_FacetAttributeDefinition = (input: FacetAttributeDefinition, context: _ return take(input, { DefaultValue: (_) => se_TypedAttributeValue(_, context), IsImmutable: [], - Rules: (_) => _json(_), + Rules: _json, Type: [], }); }; @@ -8073,7 +8073,7 @@ const se_LinkAttributeAction = (input: LinkAttributeAction, context: __SerdeCont const se_LinkAttributeUpdate = (input: LinkAttributeUpdate, context: __SerdeContext): any => { return take(input, { AttributeAction: (_) => se_LinkAttributeAction(_, context), - AttributeKey: (_) => _json(_), + AttributeKey: _json, }); }; @@ -8103,7 +8103,7 @@ const se_ObjectAttributeAction = (input: ObjectAttributeAction, context: __Serde */ const se_ObjectAttributeRange = (input: ObjectAttributeRange, context: __SerdeContext): any => { return take(input, { - AttributeKey: (_) => _json(_), + AttributeKey: _json, Range: (_) => se_TypedAttributeValueRange(_, context), }); }; @@ -8125,7 +8125,7 @@ const se_ObjectAttributeRangeList = (input: ObjectAttributeRange[], context: __S const se_ObjectAttributeUpdate = (input: ObjectAttributeUpdate, context: __SerdeContext): any => { return take(input, { ObjectAttributeAction: (_) => se_ObjectAttributeAction(_, context), - ObjectAttributeKey: (_) => _json(_), + ObjectAttributeKey: _json, }); }; @@ -8193,7 +8193,7 @@ const se_TypedLinkAttributeDefinition = (input: TypedLinkAttributeDefinition, co IsImmutable: [], Name: [], RequiredBehavior: [], - Rules: (_) => _json(_), + Rules: _json, Type: [], }); }; @@ -8236,7 +8236,7 @@ const se_TypedLinkAttributeRangeList = (input: TypedLinkAttributeRange[], contex const se_TypedLinkFacet = (input: TypedLinkFacet, context: __SerdeContext): any => { return take(input, { Attributes: (_) => se_TypedLinkAttributeDefinitionList(_, context), - IdentityAttributeOrder: (_) => _json(_), + IdentityAttributeOrder: _json, Name: [], }); }; @@ -8270,9 +8270,9 @@ const se_TypedLinkFacetAttributeUpdateList = (input: TypedLinkFacetAttributeUpda const se_TypedLinkSpecifier = (input: TypedLinkSpecifier, context: __SerdeContext): any => { return take(input, { IdentityAttributeValues: (_) => se_AttributeNameAndValueList(_, context), - SourceObjectReference: (_) => _json(_), - TargetObjectReference: (_) => _json(_), - TypedLinkFacet: (_) => _json(_), + SourceObjectReference: _json, + TargetObjectReference: _json, + TypedLinkFacet: _json, }); }; diff --git a/clients/client-cloudtrail/src/protocols/Aws_json1_1.ts b/clients/client-cloudtrail/src/protocols/Aws_json1_1.ts index d329f3c0e8735..1ff6b2ec43653 100644 --- a/clients/client-cloudtrail/src/protocols/Aws_json1_1.ts +++ b/clients/client-cloudtrail/src/protocols/Aws_json1_1.ts @@ -5362,7 +5362,7 @@ const se_LookupEventsRequest = (input: LookupEventsRequest, context: __SerdeCont return take(input, { EndTime: (_) => Math.round(_.getTime() / 1000), EventCategory: [], - LookupAttributes: (_) => _json(_), + LookupAttributes: _json, MaxResults: [], NextToken: [], StartTime: (_) => Math.round(_.getTime() / 1000), @@ -5392,10 +5392,10 @@ const se_LookupEventsRequest = (input: LookupEventsRequest, context: __SerdeCont */ const se_StartImportRequest = (input: StartImportRequest, context: __SerdeContext): any => { return take(input, { - Destinations: (_) => _json(_), + Destinations: _json, EndEventTime: (_) => Math.round(_.getTime() / 1000), ImportId: [], - ImportSource: (_) => _json(_), + ImportSource: _json, StartEventTime: (_) => Math.round(_.getTime() / 1000), }); }; diff --git a/clients/client-cloudwatch-events/src/protocols/Aws_json1_1.ts b/clients/client-cloudwatch-events/src/protocols/Aws_json1_1.ts index f62fd0acb30e1..fe342c78ccafc 100644 --- a/clients/client-cloudwatch-events/src/protocols/Aws_json1_1.ts +++ b/clients/client-cloudwatch-events/src/protocols/Aws_json1_1.ts @@ -3896,7 +3896,7 @@ const se_PutEventsRequestEntry = (input: PutEventsRequestEntry, context: __Serde Detail: [], DetailType: [], EventBusName: [], - Resources: (_) => _json(_), + Resources: _json, Source: [], Time: (_) => Math.round(_.getTime() / 1000), TraceHeader: [], @@ -3930,7 +3930,7 @@ const se_PutPartnerEventsRequestEntry = (input: PutPartnerEventsRequestEntry, co return take(input, { Detail: [], DetailType: [], - Resources: (_) => _json(_), + Resources: _json, Source: [], Time: (_) => Math.round(_.getTime() / 1000), }); @@ -3989,7 +3989,7 @@ const se_PutPartnerEventsRequestEntryList = (input: PutPartnerEventsRequestEntry const se_StartReplayRequest = (input: StartReplayRequest, context: __SerdeContext): any => { return take(input, { Description: [], - Destination: (_) => _json(_), + Destination: _json, EventEndTime: (_) => Math.round(_.getTime() / 1000), EventSourceArn: [], EventStartTime: (_) => Math.round(_.getTime() / 1000), diff --git a/clients/client-cloudwatch-logs/src/protocols/Aws_json1_1.ts b/clients/client-cloudwatch-logs/src/protocols/Aws_json1_1.ts index a23a87b235cba..202797fc00a8c 100644 --- a/clients/client-cloudwatch-logs/src/protocols/Aws_json1_1.ts +++ b/clients/client-cloudwatch-logs/src/protocols/Aws_json1_1.ts @@ -3584,8 +3584,8 @@ const de_UnrecognizedClientExceptionRes = async ( */ const se_MetricTransformation = (input: MetricTransformation, context: __SerdeContext): any => { return take(input, { - defaultValue: (_) => __serializeFloat(_), - dimensions: (_) => _json(_), + defaultValue: __serializeFloat, + dimensions: _json, metricName: [], metricNamespace: [], metricValue: [], diff --git a/clients/client-codebuild/src/protocols/Aws_json1_1.ts b/clients/client-codebuild/src/protocols/Aws_json1_1.ts index ae5a16984770e..ee608f54fd3e7 100644 --- a/clients/client-codebuild/src/protocols/Aws_json1_1.ts +++ b/clients/client-codebuild/src/protocols/Aws_json1_1.ts @@ -3102,9 +3102,9 @@ const de_ResourceNotFoundExceptionRes = async ( */ const se_DescribeCodeCoveragesInput = (input: DescribeCodeCoveragesInput, context: __SerdeContext): any => { return take(input, { - maxLineCoveragePercentage: (_) => __serializeFloat(_), + maxLineCoveragePercentage: __serializeFloat, maxResults: [], - minLineCoveragePercentage: (_) => __serializeFloat(_), + minLineCoveragePercentage: __serializeFloat, nextToken: [], reportArn: [], sortBy: [], diff --git a/clients/client-codecommit/src/protocols/Aws_json1_1.ts b/clients/client-codecommit/src/protocols/Aws_json1_1.ts index 98041db0f051a..189d6e4080b58 100644 --- a/clients/client-codecommit/src/protocols/Aws_json1_1.ts +++ b/clients/client-codecommit/src/protocols/Aws_json1_1.ts @@ -11020,9 +11020,9 @@ const de_TooManyTagsExceptionRes = async ( */ const se_ConflictResolution = (input: ConflictResolution, context: __SerdeContext): any => { return take(input, { - deleteFiles: (_) => _json(_), + deleteFiles: _json, replaceContents: (_) => se_ReplaceContentEntries(_, context), - setFileModes: (_) => _json(_), + setFileModes: _json, }); }; @@ -11038,13 +11038,13 @@ const se_CreateCommitInput = (input: CreateCommitInput, context: __SerdeContext) authorName: [], branchName: [], commitMessage: [], - deleteFiles: (_) => _json(_), + deleteFiles: _json, email: [], keepEmptyFolders: [], parentCommitId: [], putFiles: (_) => se_PutFileEntries(_, context), repositoryName: [], - setFileModes: (_) => _json(_), + setFileModes: _json, }); }; @@ -11057,7 +11057,7 @@ const se_CreatePullRequestInput = (input: CreatePullRequestInput, context: __Ser return take(input, { clientRequestToken: (_) => _ ?? generateIdempotencyToken(), description: [], - targets: (_) => _json(_), + targets: _json, title: [], }); }; @@ -11258,7 +11258,7 @@ const se_PostCommentForComparedCommitInput = ( beforeCommitId: [], clientRequestToken: (_) => _ ?? generateIdempotencyToken(), content: [], - location: (_) => _json(_), + location: _json, repositoryName: [], }); }; @@ -11272,7 +11272,7 @@ const se_PostCommentForPullRequestInput = (input: PostCommentForPullRequestInput beforeCommitId: [], clientRequestToken: (_) => _ ?? generateIdempotencyToken(), content: [], - location: (_) => _json(_), + location: _json, pullRequestId: [], repositoryName: [], }); @@ -11307,10 +11307,10 @@ const se_PutFileEntries = (input: PutFileEntry[], context: __SerdeContext): any */ const se_PutFileEntry = (input: PutFileEntry, context: __SerdeContext): any => { return take(input, { - fileContent: (_) => context.base64Encoder(_), + fileContent: context.base64Encoder, fileMode: [], filePath: [], - sourceFile: (_) => _json(_), + sourceFile: _json, }); }; @@ -11322,7 +11322,7 @@ const se_PutFileInput = (input: PutFileInput, context: __SerdeContext): any => { branchName: [], commitMessage: [], email: [], - fileContent: (_) => context.base64Encoder(_), + fileContent: context.base64Encoder, fileMode: [], filePath: [], name: [], @@ -11349,7 +11349,7 @@ const se_ReplaceContentEntries = (input: ReplaceContentEntry[], context: __Serde */ const se_ReplaceContentEntry = (input: ReplaceContentEntry, context: __SerdeContext): any => { return take(input, { - content: (_) => context.base64Encoder(_), + content: context.base64Encoder, fileMode: [], filePath: [], replacementType: [], diff --git a/clients/client-codedeploy/src/protocols/Aws_json1_1.ts b/clients/client-codedeploy/src/protocols/Aws_json1_1.ts index de245af99328c..826e1a655c1ed 100644 --- a/clients/client-codedeploy/src/protocols/Aws_json1_1.ts +++ b/clients/client-codedeploy/src/protocols/Aws_json1_1.ts @@ -5863,7 +5863,7 @@ const se_ListDeploymentsInput = (input: ListDeploymentsInput, context: __SerdeCo createTimeRange: (_) => se_TimeRange(_, context), deploymentGroupName: [], externalId: [], - includeOnlyStatuses: (_) => _json(_), + includeOnlyStatuses: _json, nextToken: [], }); }; diff --git a/clients/client-codepipeline/src/protocols/Aws_json1_1.ts b/clients/client-codepipeline/src/protocols/Aws_json1_1.ts index c5cba909ec4d3..d7fbe8d566e6a 100644 --- a/clients/client-codepipeline/src/protocols/Aws_json1_1.ts +++ b/clients/client-codepipeline/src/protocols/Aws_json1_1.ts @@ -3563,9 +3563,9 @@ const se_PutJobSuccessResultInput = (input: PutJobSuccessResultInput, context: _ return take(input, { continuationToken: [], currentRevision: (_) => se_CurrentRevision(_, context), - executionDetails: (_) => _json(_), + executionDetails: _json, jobId: [], - outputVariables: (_) => _json(_), + outputVariables: _json, }); }; @@ -3582,7 +3582,7 @@ const se_PutThirdPartyJobSuccessResultInput = ( clientToken: [], continuationToken: [], currentRevision: (_) => se_CurrentRevision(_, context), - executionDetails: (_) => _json(_), + executionDetails: _json, jobId: [], }); }; diff --git a/clients/client-cognito-identity-provider/src/protocols/Aws_json1_1.ts b/clients/client-cognito-identity-provider/src/protocols/Aws_json1_1.ts index 53c43187eb247..69cf9dc1b0b84 100644 --- a/clients/client-cognito-identity-provider/src/protocols/Aws_json1_1.ts +++ b/clients/client-cognito-identity-provider/src/protocols/Aws_json1_1.ts @@ -9500,7 +9500,7 @@ const se_SetUICustomizationRequest = (input: SetUICustomizationRequest, context: return take(input, { CSS: [], ClientId: [], - ImageFile: (_) => context.base64Encoder(_), + ImageFile: context.base64Encoder, UserPoolId: [], }); }; diff --git a/clients/client-comprehend/src/protocols/Aws_json1_1.ts b/clients/client-comprehend/src/protocols/Aws_json1_1.ts index 07ce52f002bd1..f6b9ffe23d408 100644 --- a/clients/client-comprehend/src/protocols/Aws_json1_1.ts +++ b/clients/client-comprehend/src/protocols/Aws_json1_1.ts @@ -6659,8 +6659,8 @@ const de_UnsupportedLanguageExceptionRes = async ( */ const se_ClassifyDocumentRequest = (input: ClassifyDocumentRequest, context: __SerdeContext): any => { return take(input, { - Bytes: (_) => context.base64Encoder(_), - DocumentReaderConfig: (_) => _json(_), + Bytes: context.base64Encoder, + DocumentReaderConfig: _json, EndpointArn: [], Text: [], }); @@ -6678,8 +6678,8 @@ const se_CreateDatasetRequest = (input: CreateDatasetRequest, context: __SerdeCo DatasetType: [], Description: [], FlywheelArn: [], - InputDataConfig: (_) => _json(_), - Tags: (_) => _json(_), + InputDataConfig: _json, + Tags: _json, }); }; @@ -6691,16 +6691,16 @@ const se_CreateDocumentClassifierRequest = (input: CreateDocumentClassifierReque ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], DocumentClassifierName: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, LanguageCode: [], Mode: [], ModelKmsKeyId: [], ModelPolicy: [], - OutputDataConfig: (_) => _json(_), - Tags: (_) => _json(_), + OutputDataConfig: _json, + Tags: _json, VersionName: [], VolumeKmsKeyId: [], - VpcConfig: (_) => _json(_), + VpcConfig: _json, }); }; @@ -6715,7 +6715,7 @@ const se_CreateEndpointRequest = (input: CreateEndpointRequest, context: __Serde EndpointName: [], FlywheelArn: [], ModelArn: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -6726,15 +6726,15 @@ const se_CreateEntityRecognizerRequest = (input: CreateEntityRecognizerRequest, return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, LanguageCode: [], ModelKmsKeyId: [], ModelPolicy: [], RecognizerName: [], - Tags: (_) => _json(_), + Tags: _json, VersionName: [], VolumeKmsKeyId: [], - VpcConfig: (_) => _json(_), + VpcConfig: _json, }); }; @@ -6747,11 +6747,11 @@ const se_CreateFlywheelRequest = (input: CreateFlywheelRequest, context: __Serde ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], DataLakeS3Uri: [], - DataSecurityConfig: (_) => _json(_), + DataSecurityConfig: _json, FlywheelName: [], ModelType: [], - Tags: (_) => _json(_), - TaskConfig: (_) => _json(_), + Tags: _json, + TaskConfig: _json, }); }; @@ -6836,8 +6836,8 @@ const se_DatasetFilter = (input: DatasetFilter, context: __SerdeContext): any => */ const se_DetectEntitiesRequest = (input: DetectEntitiesRequest, context: __SerdeContext): any => { return take(input, { - Bytes: (_) => context.base64Encoder(_), - DocumentReaderConfig: (_) => _json(_), + Bytes: context.base64Encoder, + DocumentReaderConfig: _json, EndpointArn: [], LanguageCode: [], Text: [], @@ -7248,12 +7248,12 @@ const se_StartDocumentClassificationJobRequest = ( DataAccessRoleArn: [], DocumentClassifierArn: [], FlywheelArn: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, JobName: [], - OutputDataConfig: (_) => _json(_), - Tags: (_) => _json(_), + OutputDataConfig: _json, + Tags: _json, VolumeKmsKeyId: [], - VpcConfig: (_) => _json(_), + VpcConfig: _json, }); }; @@ -7267,12 +7267,12 @@ const se_StartDominantLanguageDetectionJobRequest = ( return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, JobName: [], - OutputDataConfig: (_) => _json(_), - Tags: (_) => _json(_), + OutputDataConfig: _json, + Tags: _json, VolumeKmsKeyId: [], - VpcConfig: (_) => _json(_), + VpcConfig: _json, }); }; @@ -7285,13 +7285,13 @@ const se_StartEntitiesDetectionJobRequest = (input: StartEntitiesDetectionJobReq DataAccessRoleArn: [], EntityRecognizerArn: [], FlywheelArn: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, JobName: [], LanguageCode: [], - OutputDataConfig: (_) => _json(_), - Tags: (_) => _json(_), + OutputDataConfig: _json, + Tags: _json, VolumeKmsKeyId: [], - VpcConfig: (_) => _json(_), + VpcConfig: _json, }); }; @@ -7302,12 +7302,12 @@ const se_StartEventsDetectionJobRequest = (input: StartEventsDetectionJobRequest return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, JobName: [], LanguageCode: [], - OutputDataConfig: (_) => _json(_), - Tags: (_) => _json(_), - TargetEventTypes: (_) => _json(_), + OutputDataConfig: _json, + Tags: _json, + TargetEventTypes: _json, }); }; @@ -7323,13 +7323,13 @@ const se_StartKeyPhrasesDetectionJobRequest = ( return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, JobName: [], LanguageCode: [], - OutputDataConfig: (_) => _json(_), - Tags: (_) => _json(_), + OutputDataConfig: _json, + Tags: _json, VolumeKmsKeyId: [], - VpcConfig: (_) => _json(_), + VpcConfig: _json, }); }; @@ -7343,13 +7343,13 @@ const se_StartPiiEntitiesDetectionJobRequest = ( return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, JobName: [], LanguageCode: [], Mode: [], - OutputDataConfig: (_) => _json(_), - RedactionConfig: (_) => _json(_), - Tags: (_) => _json(_), + OutputDataConfig: _json, + RedactionConfig: _json, + Tags: _json, }); }; @@ -7363,13 +7363,13 @@ const se_StartSentimentDetectionJobRequest = ( return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, JobName: [], LanguageCode: [], - OutputDataConfig: (_) => _json(_), - Tags: (_) => _json(_), + OutputDataConfig: _json, + Tags: _json, VolumeKmsKeyId: [], - VpcConfig: (_) => _json(_), + VpcConfig: _json, }); }; @@ -7383,13 +7383,13 @@ const se_StartTargetedSentimentDetectionJobRequest = ( return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, JobName: [], LanguageCode: [], - OutputDataConfig: (_) => _json(_), - Tags: (_) => _json(_), + OutputDataConfig: _json, + Tags: _json, VolumeKmsKeyId: [], - VpcConfig: (_) => _json(_), + VpcConfig: _json, }); }; @@ -7400,13 +7400,13 @@ const se_StartTopicsDetectionJobRequest = (input: StartTopicsDetectionJobRequest return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, JobName: [], NumberOfTopics: [], - OutputDataConfig: (_) => _json(_), - Tags: (_) => _json(_), + OutputDataConfig: _json, + Tags: _json, VolumeKmsKeyId: [], - VpcConfig: (_) => _json(_), + VpcConfig: _json, }); }; diff --git a/clients/client-comprehendmedical/src/protocols/Aws_json1_1.ts b/clients/client-comprehendmedical/src/protocols/Aws_json1_1.ts index 98a7056067971..8179d0a20d546 100644 --- a/clients/client-comprehendmedical/src/protocols/Aws_json1_1.ts +++ b/clients/client-comprehendmedical/src/protocols/Aws_json1_1.ts @@ -2203,11 +2203,11 @@ const se_StartEntitiesDetectionV2JobRequest = ( return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, JobName: [], KMSKey: [], LanguageCode: [], - OutputDataConfig: (_) => _json(_), + OutputDataConfig: _json, }); }; @@ -2218,11 +2218,11 @@ const se_StartICD10CMInferenceJobRequest = (input: StartICD10CMInferenceJobReque return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, JobName: [], KMSKey: [], LanguageCode: [], - OutputDataConfig: (_) => _json(_), + OutputDataConfig: _json, }); }; @@ -2233,11 +2233,11 @@ const se_StartPHIDetectionJobRequest = (input: StartPHIDetectionJobRequest, cont return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, JobName: [], KMSKey: [], LanguageCode: [], - OutputDataConfig: (_) => _json(_), + OutputDataConfig: _json, }); }; @@ -2248,11 +2248,11 @@ const se_StartRxNormInferenceJobRequest = (input: StartRxNormInferenceJobRequest return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, JobName: [], KMSKey: [], LanguageCode: [], - OutputDataConfig: (_) => _json(_), + OutputDataConfig: _json, }); }; @@ -2263,11 +2263,11 @@ const se_StartSNOMEDCTInferenceJobRequest = (input: StartSNOMEDCTInferenceJobReq return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, JobName: [], KMSKey: [], LanguageCode: [], - OutputDataConfig: (_) => _json(_), + OutputDataConfig: _json, }); }; diff --git a/clients/client-compute-optimizer/src/protocols/Aws_json1_0.ts b/clients/client-compute-optimizer/src/protocols/Aws_json1_0.ts index 48c023440dee9..5a91dba60ccf4 100644 --- a/clients/client-compute-optimizer/src/protocols/Aws_json1_0.ts +++ b/clients/client-compute-optimizer/src/protocols/Aws_json1_0.ts @@ -2063,7 +2063,7 @@ const se_GetEC2RecommendationProjectedMetricsRequest = ( endTime: (_) => Math.round(_.getTime() / 1000), instanceArn: [], period: [], - recommendationPreferences: (_) => _json(_), + recommendationPreferences: _json, startTime: (_) => Math.round(_.getTime() / 1000), stat: [], }); diff --git a/clients/client-config-service/src/protocols/Aws_json1_1.ts b/clients/client-config-service/src/protocols/Aws_json1_1.ts index d4a79e35a3f75..e878e885ae2b6 100644 --- a/clients/client-config-service/src/protocols/Aws_json1_1.ts +++ b/clients/client-config-service/src/protocols/Aws_json1_1.ts @@ -7718,7 +7718,7 @@ const se_PutRemediationExceptionsRequest = (input: PutRemediationExceptionsReque ConfigRuleName: [], ExpirationTime: (_) => Math.round(_.getTime() / 1000), Message: [], - ResourceKeys: (_) => _json(_), + ResourceKeys: _json, }); }; diff --git a/clients/client-connect/src/protocols/Aws_restJson1.ts b/clients/client-connect/src/protocols/Aws_restJson1.ts index 809f6964ce4a3..4e1d955d23452 100644 --- a/clients/client-connect/src/protocols/Aws_restJson1.ts +++ b/clients/client-connect/src/protocols/Aws_restJson1.ts @@ -16881,7 +16881,7 @@ const se_MetricsV2 = (input: MetricV2[], context: __SerdeContext): any => { */ const se_MetricV2 = (input: MetricV2, context: __SerdeContext): any => { return take(input, { - MetricFilters: (_) => _json(_), + MetricFilters: _json, Name: [], Threshold: (_) => se_ThresholdCollections(_, context), }); @@ -16932,7 +16932,7 @@ const se_QueueSearchCriteria = (input: QueueSearchCriteria, context: __SerdeCont AndConditions: (_) => se_QueueSearchConditionList(_, context), OrConditions: (_) => se_QueueSearchConditionList(_, context), QueueTypeCondition: [], - StringCondition: (_) => _json(_), + StringCondition: _json, }); }; @@ -16980,7 +16980,7 @@ const se_RoutingProfileSearchCriteria = (input: RoutingProfileSearchCriteria, co return take(input, { AndConditions: (_) => se_RoutingProfileSearchConditionList(_, context), OrConditions: (_) => se_RoutingProfileSearchConditionList(_, context), - StringCondition: (_) => _json(_), + StringCondition: _json, }); }; @@ -17017,7 +17017,7 @@ const se_SecurityProfileSearchCriteria = (input: SecurityProfileSearchCriteria, return take(input, { AndConditions: (_) => se_SecurityProfileSearchConditionList(_, context), OrConditions: (_) => se_SecurityProfileSearchConditionList(_, context), - StringCondition: (_) => _json(_), + StringCondition: _json, }); }; @@ -17065,7 +17065,7 @@ const se_SecurityProfileSearchCriteria = (input: SecurityProfileSearchCriteria, const se_Threshold = (input: Threshold, context: __SerdeContext): any => { return take(input, { Comparison: [], - ThresholdValue: (_) => __serializeFloat(_), + ThresholdValue: __serializeFloat, }); }; @@ -17086,7 +17086,7 @@ const se_ThresholdCollections = (input: ThresholdV2[], context: __SerdeContext): const se_ThresholdV2 = (input: ThresholdV2, context: __SerdeContext): any => { return take(input, { Comparison: [], - ThresholdValue: (_) => __serializeFloat(_), + ThresholdValue: __serializeFloat, }); }; @@ -17121,9 +17121,9 @@ const se_UserSearchConditionList = (input: UserSearchCriteria[], context: __Serd const se_UserSearchCriteria = (input: UserSearchCriteria, context: __SerdeContext): any => { return take(input, { AndConditions: (_) => se_UserSearchConditionList(_, context), - HierarchyGroupCondition: (_) => _json(_), + HierarchyGroupCondition: _json, OrConditions: (_) => se_UserSearchConditionList(_, context), - StringCondition: (_) => _json(_), + StringCondition: _json, }); }; diff --git a/clients/client-connectcampaigns/src/protocols/Aws_restJson1.ts b/clients/client-connectcampaigns/src/protocols/Aws_restJson1.ts index 7927342e9404a..b188c3922b59a 100644 --- a/clients/client-connectcampaigns/src/protocols/Aws_restJson1.ts +++ b/clients/client-connectcampaigns/src/protocols/Aws_restJson1.ts @@ -2219,7 +2219,7 @@ const se_DialerConfig = (input: DialerConfig, context: __SerdeContext): any => { */ const se_DialRequest = (input: DialRequest, context: __SerdeContext): any => { return take(input, { - attributes: (_) => _json(_), + attributes: _json, clientToken: [], expirationTime: (_) => _.toISOString().split(".")[0] + "Z", phoneNumber: [], @@ -2248,7 +2248,7 @@ const se_DialRequestList = (input: DialRequest[], context: __SerdeContext): any */ const se_PredictiveDialerConfig = (input: PredictiveDialerConfig, context: __SerdeContext): any => { return take(input, { - bandwidthAllocation: (_) => __serializeFloat(_), + bandwidthAllocation: __serializeFloat, }); }; @@ -2257,7 +2257,7 @@ const se_PredictiveDialerConfig = (input: PredictiveDialerConfig, context: __Ser */ const se_ProgressiveDialerConfig = (input: ProgressiveDialerConfig, context: __SerdeContext): any => { return take(input, { - bandwidthAllocation: (_) => __serializeFloat(_), + bandwidthAllocation: __serializeFloat, }); }; diff --git a/clients/client-cost-explorer/src/protocols/Aws_json1_1.ts b/clients/client-cost-explorer/src/protocols/Aws_json1_1.ts index 77e457c8ae469..9718d00242117 100644 --- a/clients/client-cost-explorer/src/protocols/Aws_json1_1.ts +++ b/clients/client-cost-explorer/src/protocols/Aws_json1_1.ts @@ -2800,11 +2800,11 @@ const se_AnomalySubscription = (input: AnomalySubscription, context: __SerdeCont return take(input, { AccountId: [], Frequency: [], - MonitorArnList: (_) => _json(_), - Subscribers: (_) => _json(_), + MonitorArnList: _json, + Subscribers: _json, SubscriptionArn: [], SubscriptionName: [], - Threshold: (_) => __serializeFloat(_), + Threshold: __serializeFloat, ThresholdExpression: (_) => se_Expression(_, context), }); }; @@ -2822,7 +2822,7 @@ const se_AnomalySubscription = (input: AnomalySubscription, context: __SerdeCont */ const se_CostCategoryRule = (input: CostCategoryRule, context: __SerdeContext): any => { return take(input, { - InheritedValue: (_) => _json(_), + InheritedValue: _json, Rule: (_) => se_Expression(_, context), Type: [], Value: [], @@ -2860,7 +2860,7 @@ const se_CostCategoryRulesList = (input: CostCategoryRule[], context: __SerdeCon const se_CreateAnomalyMonitorRequest = (input: CreateAnomalyMonitorRequest, context: __SerdeContext): any => { return take(input, { AnomalyMonitor: (_) => se_AnomalyMonitor(_, context), - ResourceTags: (_) => _json(_), + ResourceTags: _json, }); }; @@ -2870,7 +2870,7 @@ const se_CreateAnomalyMonitorRequest = (input: CreateAnomalyMonitorRequest, cont const se_CreateAnomalySubscriptionRequest = (input: CreateAnomalySubscriptionRequest, context: __SerdeContext): any => { return take(input, { AnomalySubscription: (_) => se_AnomalySubscription(_, context), - ResourceTags: (_) => _json(_), + ResourceTags: _json, }); }; @@ -2885,10 +2885,10 @@ const se_CreateCostCategoryDefinitionRequest = ( DefaultValue: [], EffectiveStart: [], Name: [], - ResourceTags: (_) => _json(_), + ResourceTags: _json, RuleVersion: [], Rules: (_) => se_CostCategoryRulesList(_, context), - SplitChargeRules: (_) => _json(_), + SplitChargeRules: _json, }); }; @@ -2912,11 +2912,11 @@ const se_CreateCostCategoryDefinitionRequest = ( const se_Expression = (input: Expression, context: __SerdeContext): any => { return take(input, { And: (_) => se_Expressions(_, context), - CostCategories: (_) => _json(_), - Dimensions: (_) => _json(_), + CostCategories: _json, + Dimensions: _json, Not: (_) => se_Expression(_, context), Or: (_) => se_Expressions(_, context), - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -2936,7 +2936,7 @@ const se_Expressions = (input: Expression[], context: __SerdeContext): any => { */ const se_GetAnomaliesRequest = (input: GetAnomaliesRequest, context: __SerdeContext): any => { return take(input, { - DateInterval: (_) => _json(_), + DateInterval: _json, Feedback: [], MaxResults: [], MonitorArn: [], @@ -2956,10 +2956,10 @@ const se_GetCostAndUsageRequest = (input: GetCostAndUsageRequest, context: __Ser return take(input, { Filter: (_) => se_Expression(_, context), Granularity: [], - GroupBy: (_) => _json(_), - Metrics: (_) => _json(_), + GroupBy: _json, + Metrics: _json, NextPageToken: [], - TimePeriod: (_) => _json(_), + TimePeriod: _json, }); }; @@ -2973,10 +2973,10 @@ const se_GetCostAndUsageWithResourcesRequest = ( return take(input, { Filter: (_) => se_Expression(_, context), Granularity: [], - GroupBy: (_) => _json(_), - Metrics: (_) => _json(_), + GroupBy: _json, + Metrics: _json, NextPageToken: [], - TimePeriod: (_) => _json(_), + TimePeriod: _json, }); }; @@ -2990,8 +2990,8 @@ const se_GetCostCategoriesRequest = (input: GetCostCategoriesRequest, context: _ MaxResults: [], NextPageToken: [], SearchString: [], - SortBy: (_) => _json(_), - TimePeriod: (_) => _json(_), + SortBy: _json, + TimePeriod: _json, }); }; @@ -3004,7 +3004,7 @@ const se_GetCostForecastRequest = (input: GetCostForecastRequest, context: __Ser Granularity: [], Metric: [], PredictionIntervalLevel: [], - TimePeriod: (_) => _json(_), + TimePeriod: _json, }); }; @@ -3019,8 +3019,8 @@ const se_GetDimensionValuesRequest = (input: GetDimensionValuesRequest, context: MaxResults: [], NextPageToken: [], SearchString: [], - SortBy: (_) => _json(_), - TimePeriod: (_) => _json(_), + SortBy: _json, + TimePeriod: _json, }); }; @@ -3031,12 +3031,12 @@ const se_GetReservationCoverageRequest = (input: GetReservationCoverageRequest, return take(input, { Filter: (_) => se_Expression(_, context), Granularity: [], - GroupBy: (_) => _json(_), + GroupBy: _json, MaxResults: [], - Metrics: (_) => _json(_), + Metrics: _json, NextPageToken: [], - SortBy: (_) => _json(_), - TimePeriod: (_) => _json(_), + SortBy: _json, + TimePeriod: _json, }); }; @@ -3056,7 +3056,7 @@ const se_GetReservationPurchaseRecommendationRequest = ( PageSize: [], PaymentOption: [], Service: [], - ServiceSpecification: (_) => _json(_), + ServiceSpecification: _json, TermInYears: [], }); }; @@ -3068,11 +3068,11 @@ const se_GetReservationUtilizationRequest = (input: GetReservationUtilizationReq return take(input, { Filter: (_) => se_Expression(_, context), Granularity: [], - GroupBy: (_) => _json(_), + GroupBy: _json, MaxResults: [], NextPageToken: [], - SortBy: (_) => _json(_), - TimePeriod: (_) => _json(_), + SortBy: _json, + TimePeriod: _json, }); }; @@ -3084,7 +3084,7 @@ const se_GetRightsizingRecommendationRequest = ( context: __SerdeContext ): any => { return take(input, { - Configuration: (_) => _json(_), + Configuration: _json, Filter: (_) => se_Expression(_, context), NextPageToken: [], PageSize: [], @@ -3099,12 +3099,12 @@ const se_GetSavingsPlansCoverageRequest = (input: GetSavingsPlansCoverageRequest return take(input, { Filter: (_) => se_Expression(_, context), Granularity: [], - GroupBy: (_) => _json(_), + GroupBy: _json, MaxResults: [], - Metrics: (_) => _json(_), + Metrics: _json, NextToken: [], - SortBy: (_) => _json(_), - TimePeriod: (_) => _json(_), + SortBy: _json, + TimePeriod: _json, }); }; @@ -3135,12 +3135,12 @@ const se_GetSavingsPlansUtilizationDetailsRequest = ( context: __SerdeContext ): any => { return take(input, { - DataType: (_) => _json(_), + DataType: _json, Filter: (_) => se_Expression(_, context), MaxResults: [], NextToken: [], - SortBy: (_) => _json(_), - TimePeriod: (_) => _json(_), + SortBy: _json, + TimePeriod: _json, }); }; @@ -3154,8 +3154,8 @@ const se_GetSavingsPlansUtilizationRequest = ( return take(input, { Filter: (_) => se_Expression(_, context), Granularity: [], - SortBy: (_) => _json(_), - TimePeriod: (_) => _json(_), + SortBy: _json, + TimePeriod: _json, }); }; @@ -3168,9 +3168,9 @@ const se_GetTagsRequest = (input: GetTagsRequest, context: __SerdeContext): any MaxResults: [], NextPageToken: [], SearchString: [], - SortBy: (_) => _json(_), + SortBy: _json, TagKey: [], - TimePeriod: (_) => _json(_), + TimePeriod: _json, }); }; @@ -3183,7 +3183,7 @@ const se_GetUsageForecastRequest = (input: GetUsageForecastRequest, context: __S Granularity: [], Metric: [], PredictionIntervalLevel: [], - TimePeriod: (_) => _json(_), + TimePeriod: _json, }); }; @@ -3240,9 +3240,9 @@ const se_GetUsageForecastRequest = (input: GetUsageForecastRequest, context: __S */ const se_TotalImpactFilter = (input: TotalImpactFilter, context: __SerdeContext): any => { return take(input, { - EndValue: (_) => __serializeFloat(_), + EndValue: __serializeFloat, NumericOperator: [], - StartValue: (_) => __serializeFloat(_), + StartValue: __serializeFloat, }); }; @@ -3256,11 +3256,11 @@ const se_TotalImpactFilter = (input: TotalImpactFilter, context: __SerdeContext) const se_UpdateAnomalySubscriptionRequest = (input: UpdateAnomalySubscriptionRequest, context: __SerdeContext): any => { return take(input, { Frequency: [], - MonitorArnList: (_) => _json(_), - Subscribers: (_) => _json(_), + MonitorArnList: _json, + Subscribers: _json, SubscriptionArn: [], SubscriptionName: [], - Threshold: (_) => __serializeFloat(_), + Threshold: __serializeFloat, ThresholdExpression: (_) => se_Expression(_, context), }); }; @@ -3280,7 +3280,7 @@ const se_UpdateCostCategoryDefinitionRequest = ( EffectiveStart: [], RuleVersion: [], Rules: (_) => se_CostCategoryRulesList(_, context), - SplitChargeRules: (_) => _json(_), + SplitChargeRules: _json, }); }; diff --git a/clients/client-customer-profiles/src/protocols/Aws_restJson1.ts b/clients/client-customer-profiles/src/protocols/Aws_restJson1.ts index 9da7635a2c0bb..5f629f1f58d17 100644 --- a/clients/client-customer-profiles/src/protocols/Aws_restJson1.ts +++ b/clients/client-customer-profiles/src/protocols/Aws_restJson1.ts @@ -3822,10 +3822,10 @@ const se_AppflowIntegration = (input: AppflowIntegration, context: __SerdeContex */ const se_AutoMerging = (input: AutoMerging, context: __SerdeContext): any => { return take(input, { - ConflictResolution: (_) => _json(_), - Consolidation: (_) => _json(_), + ConflictResolution: _json, + Consolidation: _json, Enabled: [], - MinAllowedConfidenceScoreForMerging: (_) => __serializeFloat(_), + MinAllowedConfidenceScoreForMerging: __serializeFloat, }); }; @@ -3872,8 +3872,8 @@ const se_FlowDefinition = (input: FlowDefinition, context: __SerdeContext): any Description: [], FlowName: [], KmsArn: [], - SourceFlowConfig: (_) => _json(_), - Tasks: (_) => _json(_), + SourceFlowConfig: _json, + Tasks: _json, TriggerConfig: (_) => se_TriggerConfig(_, context), }); }; @@ -3906,8 +3906,8 @@ const se_MatchingRequest = (input: MatchingRequest, context: __SerdeContext): an return take(input, { AutoMerging: (_) => se_AutoMerging(_, context), Enabled: [], - ExportingConfig: (_) => _json(_), - JobSchedule: (_) => _json(_), + ExportingConfig: _json, + JobSchedule: _json, }); }; diff --git a/clients/client-data-pipeline/src/protocols/Aws_json1_1.ts b/clients/client-data-pipeline/src/protocols/Aws_json1_1.ts index 36d2d57c03dbb..cd541e62fa94f 100644 --- a/clients/client-data-pipeline/src/protocols/Aws_json1_1.ts +++ b/clients/client-data-pipeline/src/protocols/Aws_json1_1.ts @@ -1438,7 +1438,7 @@ const de_TaskNotFoundExceptionRes = async ( */ const se_ActivatePipelineInput = (input: ActivatePipelineInput, context: __SerdeContext): any => { return take(input, { - parameterValues: (_) => _json(_), + parameterValues: _json, pipelineId: [], startTimestamp: (_) => Math.round(_.getTime() / 1000), }); diff --git a/clients/client-database-migration-service/src/protocols/Aws_json1_1.ts b/clients/client-database-migration-service/src/protocols/Aws_json1_1.ts index 4bb602984d160..24d2399603326 100644 --- a/clients/client-database-migration-service/src/protocols/Aws_json1_1.ts +++ b/clients/client-database-migration-service/src/protocols/Aws_json1_1.ts @@ -5231,7 +5231,7 @@ const se_CreateReplicationTaskMessage = (input: CreateReplicationTaskMessage, co ResourceIdentifier: [], SourceEndpointArn: [], TableMappings: [], - Tags: (_) => _json(_), + Tags: _json, TargetEndpointArn: [], TaskData: [], }); @@ -5280,8 +5280,8 @@ const se_DescribeEventsMessage = (input: DescribeEventsMessage, context: __Serde return take(input, { Duration: [], EndTime: (_) => Math.round(_.getTime() / 1000), - EventCategories: (_) => _json(_), - Filters: (_) => _json(_), + EventCategories: _json, + Filters: _json, Marker: [], MaxRecords: [], SourceIdentifier: [], @@ -5359,8 +5359,8 @@ const se_ImportCertificateMessage = (input: ImportCertificateMessage, context: _ return take(input, { CertificateIdentifier: [], CertificatePem: [], - CertificateWallet: (_) => context.base64Encoder(_), - Tags: (_) => _json(_), + CertificateWallet: context.base64Encoder, + Tags: _json, }); }; diff --git a/clients/client-databrew/src/protocols/Aws_restJson1.ts b/clients/client-databrew/src/protocols/Aws_restJson1.ts index 09c8f9ee62731..de5fedb97be7a 100644 --- a/clients/client-databrew/src/protocols/Aws_restJson1.ts +++ b/clients/client-databrew/src/protocols/Aws_restJson1.ts @@ -4008,10 +4008,10 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont const se_Rule = (input: Rule, context: __SerdeContext): any => { return take(input, { CheckExpression: [], - ColumnSelectors: (_) => _json(_), + ColumnSelectors: _json, Disabled: [], Name: [], - SubstitutionMap: (_) => _json(_), + SubstitutionMap: _json, Threshold: (_) => se_Threshold(_, context), }); }; @@ -4054,7 +4054,7 @@ const se_Threshold = (input: Threshold, context: __SerdeContext): any => { return take(input, { Type: [], Unit: [], - Value: (_) => __serializeFloat(_), + Value: __serializeFloat, }); }; diff --git a/clients/client-datasync/src/protocols/Aws_json1_1.ts b/clients/client-datasync/src/protocols/Aws_json1_1.ts index bd4b8b8076b78..28440028f616b 100644 --- a/clients/client-datasync/src/protocols/Aws_json1_1.ts +++ b/clients/client-datasync/src/protocols/Aws_json1_1.ts @@ -2977,19 +2977,19 @@ const de_InvalidRequestExceptionRes = async ( */ const se_CreateLocationHdfsRequest = (input: CreateLocationHdfsRequest, context: __SerdeContext): any => { return take(input, { - AgentArns: (_) => _json(_), + AgentArns: _json, AuthenticationType: [], BlockSize: [], - KerberosKeytab: (_) => context.base64Encoder(_), - KerberosKrb5Conf: (_) => context.base64Encoder(_), + KerberosKeytab: context.base64Encoder, + KerberosKrb5Conf: context.base64Encoder, KerberosPrincipal: [], KmsKeyProviderUri: [], - NameNodes: (_) => _json(_), - QopConfiguration: (_) => _json(_), + NameNodes: _json, + QopConfiguration: _json, ReplicationFactor: [], SimpleUser: [], Subdirectory: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -3004,15 +3004,15 @@ const se_CreateLocationObjectStorageRequest = ( ): any => { return take(input, { AccessKey: [], - AgentArns: (_) => _json(_), + AgentArns: _json, BucketName: [], SecretKey: [], - ServerCertificate: (_) => context.base64Encoder(_), + ServerCertificate: context.base64Encoder, ServerHostname: [], ServerPort: [], ServerProtocol: [], Subdirectory: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -3129,16 +3129,16 @@ const se_CreateLocationObjectStorageRequest = ( */ const se_UpdateLocationHdfsRequest = (input: UpdateLocationHdfsRequest, context: __SerdeContext): any => { return take(input, { - AgentArns: (_) => _json(_), + AgentArns: _json, AuthenticationType: [], BlockSize: [], - KerberosKeytab: (_) => context.base64Encoder(_), - KerberosKrb5Conf: (_) => context.base64Encoder(_), + KerberosKeytab: context.base64Encoder, + KerberosKrb5Conf: context.base64Encoder, KerberosPrincipal: [], KmsKeyProviderUri: [], LocationArn: [], - NameNodes: (_) => _json(_), - QopConfiguration: (_) => _json(_), + NameNodes: _json, + QopConfiguration: _json, ReplicationFactor: [], SimpleUser: [], Subdirectory: [], @@ -3156,10 +3156,10 @@ const se_UpdateLocationObjectStorageRequest = ( ): any => { return take(input, { AccessKey: [], - AgentArns: (_) => _json(_), + AgentArns: _json, LocationArn: [], SecretKey: [], - ServerCertificate: (_) => context.base64Encoder(_), + ServerCertificate: context.base64Encoder, ServerPort: [], ServerProtocol: [], Subdirectory: [], diff --git a/clients/client-device-farm/src/protocols/Aws_json1_1.ts b/clients/client-device-farm/src/protocols/Aws_json1_1.ts index 42520974c043a..b1a472443c83c 100644 --- a/clients/client-device-farm/src/protocols/Aws_json1_1.ts +++ b/clients/client-device-farm/src/protocols/Aws_json1_1.ts @@ -5827,7 +5827,7 @@ const se_GetDevicePoolCompatibilityRequest = ( appArn: [], configuration: (_) => se_ScheduleRunConfiguration(_, context), devicePoolArn: [], - test: (_) => _json(_), + test: _json, testType: [], }); }; @@ -5935,8 +5935,8 @@ const se_ListTestGridSessionsRequest = (input: ListTestGridSessionsRequest, cont */ const se_Location = (input: Location, context: __SerdeContext): any => { return take(input, { - latitude: (_) => __serializeFloat(_), - longitude: (_) => __serializeFloat(_), + latitude: __serializeFloat, + longitude: __serializeFloat, }); }; @@ -5957,15 +5957,15 @@ const se_Location = (input: Location, context: __SerdeContext): any => { */ const se_ScheduleRunConfiguration = (input: ScheduleRunConfiguration, context: __SerdeContext): any => { return take(input, { - auxiliaryApps: (_) => _json(_), + auxiliaryApps: _json, billingMethod: [], - customerArtifactPaths: (_) => _json(_), + customerArtifactPaths: _json, extraDataPackageArn: [], locale: [], location: (_) => se_Location(_, context), networkProfileArn: [], - radios: (_) => _json(_), - vpceConfigurationArns: (_) => _json(_), + radios: _json, + vpceConfigurationArns: _json, }); }; @@ -5977,11 +5977,11 @@ const se_ScheduleRunRequest = (input: ScheduleRunRequest, context: __SerdeContex appArn: [], configuration: (_) => se_ScheduleRunConfiguration(_, context), devicePoolArn: [], - deviceSelectionConfiguration: (_) => _json(_), - executionConfiguration: (_) => _json(_), + deviceSelectionConfiguration: _json, + executionConfiguration: _json, name: [], projectArn: [], - test: (_) => _json(_), + test: _json, }); }; diff --git a/clients/client-devops-guru/src/protocols/Aws_restJson1.ts b/clients/client-devops-guru/src/protocols/Aws_restJson1.ts index c2a18a8cd945b..1b56f31b9655f 100644 --- a/clients/client-devops-guru/src/protocols/Aws_restJson1.ts +++ b/clients/client-devops-guru/src/protocols/Aws_restJson1.ts @@ -3147,7 +3147,7 @@ const se_ListEventsFilters = (input: ListEventsFilters, context: __SerdeContext) EventSource: [], EventTimeRange: (_) => se_EventTimeRange(_, context), InsightId: [], - ResourceCollection: (_) => _json(_), + ResourceCollection: _json, }); }; @@ -3184,7 +3184,7 @@ const se_ListInsightsStatusFilter = (input: ListInsightsStatusFilter, context: _ return take(input, { Any: (_) => se_ListInsightsAnyStatusFilter(_, context), Closed: (_) => se_ListInsightsClosedStatusFilter(_, context), - Ongoing: (_) => _json(_), + Ongoing: _json, }); }; diff --git a/clients/client-dynamodb/src/protocols/Aws_json1_0.ts b/clients/client-dynamodb/src/protocols/Aws_json1_0.ts index 59899676bcce6..2819fab23657a 100644 --- a/clients/client-dynamodb/src/protocols/Aws_json1_0.ts +++ b/clients/client-dynamodb/src/protocols/Aws_json1_0.ts @@ -4571,7 +4571,7 @@ const se_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate = ( DisableScaleIn: [], ScaleInCooldown: [], ScaleOutCooldown: [], - TargetValue: (_) => __serializeFloat(_), + TargetValue: __serializeFloat, }); }; @@ -4670,7 +4670,7 @@ const se_Condition = (input: Condition, context: __SerdeContext): any => { const se_ConditionCheck = (input: ConditionCheck, context: __SerdeContext): any => { return take(input, { ConditionExpression: [], - ExpressionAttributeNames: (_) => _json(_), + ExpressionAttributeNames: _json, ExpressionAttributeValues: (_) => se_ExpressionAttributeValueMap(_, context), Key: (_) => se_Key(_, context), ReturnValuesOnConditionCheckFailure: [], @@ -4700,7 +4700,7 @@ const se_ConditionCheck = (input: ConditionCheck, context: __SerdeContext): any const se_Delete = (input: Delete, context: __SerdeContext): any => { return take(input, { ConditionExpression: [], - ExpressionAttributeNames: (_) => _json(_), + ExpressionAttributeNames: _json, ExpressionAttributeValues: (_) => se_ExpressionAttributeValueMap(_, context), Key: (_) => se_Key(_, context), ReturnValuesOnConditionCheckFailure: [], @@ -4720,7 +4720,7 @@ const se_DeleteItemInput = (input: DeleteItemInput, context: __SerdeContext): an ConditionExpression: [], ConditionalOperator: [], Expected: (_) => se_ExpectedAttributeMap(_, context), - ExpressionAttributeNames: (_) => _json(_), + ExpressionAttributeNames: _json, ExpressionAttributeValues: (_) => se_ExpressionAttributeValueMap(_, context), Key: (_) => se_Key(_, context), ReturnConsumedCapacity: [], @@ -4871,7 +4871,7 @@ const se_FilterConditionMap = (input: Record, context: __Serd */ const se_Get = (input: Get, context: __SerdeContext): any => { return take(input, { - ExpressionAttributeNames: (_) => _json(_), + ExpressionAttributeNames: _json, Key: (_) => se_Key(_, context), ProjectionExpression: [], TableName: [], @@ -4883,9 +4883,9 @@ const se_Get = (input: Get, context: __SerdeContext): any => { */ const se_GetItemInput = (input: GetItemInput, context: __SerdeContext): any => { return take(input, { - AttributesToGet: (_) => _json(_), + AttributesToGet: _json, ConsistentRead: [], - ExpressionAttributeNames: (_) => _json(_), + ExpressionAttributeNames: _json, Key: (_) => se_Key(_, context), ProjectionExpression: [], ReturnConsumedCapacity: [], @@ -4964,9 +4964,9 @@ const se_ImportTableInput = (input: ImportTableInput, context: __SerdeContext): ClientToken: (_) => _ ?? generateIdempotencyToken(), InputCompressionType: [], InputFormat: [], - InputFormatOptions: (_) => _json(_), - S3BucketSource: (_) => _json(_), - TableCreationParameters: (_) => _json(_), + InputFormatOptions: _json, + S3BucketSource: _json, + TableCreationParameters: _json, }); }; @@ -5014,9 +5014,9 @@ const se_KeyList = (input: Record[], context: __SerdeCon */ const se_KeysAndAttributes = (input: KeysAndAttributes, context: __SerdeContext): any => { return take(input, { - AttributesToGet: (_) => _json(_), + AttributesToGet: _json, ConsistentRead: [], - ExpressionAttributeNames: (_) => _json(_), + ExpressionAttributeNames: _json, Keys: (_) => se_KeyList(_, context), ProjectionExpression: [], }); @@ -5143,7 +5143,7 @@ const se_PreparedStatementParameters = (input: AttributeValue[], context: __Serd const se_Put = (input: Put, context: __SerdeContext): any => { return take(input, { ConditionExpression: [], - ExpressionAttributeNames: (_) => _json(_), + ExpressionAttributeNames: _json, ExpressionAttributeValues: (_) => se_ExpressionAttributeValueMap(_, context), Item: (_) => se_PutItemInputAttributeMap(_, context), ReturnValuesOnConditionCheckFailure: [], @@ -5159,7 +5159,7 @@ const se_PutItemInput = (input: PutItemInput, context: __SerdeContext): any => { ConditionExpression: [], ConditionalOperator: [], Expected: (_) => se_ExpectedAttributeMap(_, context), - ExpressionAttributeNames: (_) => _json(_), + ExpressionAttributeNames: _json, ExpressionAttributeValues: (_) => se_ExpressionAttributeValueMap(_, context), Item: (_) => se_PutItemInputAttributeMap(_, context), ReturnConsumedCapacity: [], @@ -5196,11 +5196,11 @@ const se_PutRequest = (input: PutRequest, context: __SerdeContext): any => { */ const se_QueryInput = (input: QueryInput, context: __SerdeContext): any => { return take(input, { - AttributesToGet: (_) => _json(_), + AttributesToGet: _json, ConditionalOperator: [], ConsistentRead: [], ExclusiveStartKey: (_) => se_Key(_, context), - ExpressionAttributeNames: (_) => _json(_), + ExpressionAttributeNames: _json, ExpressionAttributeValues: (_) => se_ExpressionAttributeValueMap(_, context), FilterExpression: [], IndexName: [], @@ -5341,11 +5341,11 @@ const se_ReplicaSettingsUpdateList = (input: ReplicaSettingsUpdate[], context: _ const se_RestoreTableToPointInTimeInput = (input: RestoreTableToPointInTimeInput, context: __SerdeContext): any => { return take(input, { BillingModeOverride: [], - GlobalSecondaryIndexOverride: (_) => _json(_), - LocalSecondaryIndexOverride: (_) => _json(_), - ProvisionedThroughputOverride: (_) => _json(_), + GlobalSecondaryIndexOverride: _json, + LocalSecondaryIndexOverride: _json, + ProvisionedThroughputOverride: _json, RestoreDateTime: (_) => Math.round(_.getTime() / 1000), - SSESpecificationOverride: (_) => _json(_), + SSESpecificationOverride: _json, SourceTableArn: [], SourceTableName: [], TargetTableName: [], @@ -5360,11 +5360,11 @@ const se_RestoreTableToPointInTimeInput = (input: RestoreTableToPointInTimeInput */ const se_ScanInput = (input: ScanInput, context: __SerdeContext): any => { return take(input, { - AttributesToGet: (_) => _json(_), + AttributesToGet: _json, ConditionalOperator: [], ConsistentRead: [], ExclusiveStartKey: (_) => se_Key(_, context), - ExpressionAttributeNames: (_) => _json(_), + ExpressionAttributeNames: _json, ExpressionAttributeValues: (_) => se_ExpressionAttributeValueMap(_, context), FilterExpression: [], IndexName: [], @@ -5470,7 +5470,7 @@ const se_TransactWriteItemsInput = (input: TransactWriteItemsInput, context: __S const se_Update = (input: Update, context: __SerdeContext): any => { return take(input, { ConditionExpression: [], - ExpressionAttributeNames: (_) => _json(_), + ExpressionAttributeNames: _json, ExpressionAttributeValues: (_) => se_ExpressionAttributeValueMap(_, context), Key: (_) => se_Key(_, context), ReturnValuesOnConditionCheckFailure: [], @@ -5511,7 +5511,7 @@ const se_UpdateItemInput = (input: UpdateItemInput, context: __SerdeContext): an ConditionExpression: [], ConditionalOperator: [], Expected: (_) => se_ExpectedAttributeMap(_, context), - ExpressionAttributeNames: (_) => _json(_), + ExpressionAttributeNames: _json, ExpressionAttributeValues: (_) => se_ExpressionAttributeValueMap(_, context), Key: (_) => se_Key(_, context), ReturnConsumedCapacity: [], diff --git a/clients/client-ecr-public/src/protocols/Aws_json1_1.ts b/clients/client-ecr-public/src/protocols/Aws_json1_1.ts index d767c5c15b0b4..6ecfd4df6dc60 100644 --- a/clients/client-ecr-public/src/protocols/Aws_json1_1.ts +++ b/clients/client-ecr-public/src/protocols/Aws_json1_1.ts @@ -2185,7 +2185,7 @@ const se_CreateRepositoryRequest = (input: CreateRepositoryRequest, context: __S return take(input, { catalogData: (_) => se_RepositoryCatalogDataInput(_, context), repositoryName: [], - tags: (_) => _json(_), + tags: _json, }); }; @@ -2242,10 +2242,10 @@ const se_PutRepositoryCatalogDataRequest = (input: PutRepositoryCatalogDataReque const se_RepositoryCatalogDataInput = (input: RepositoryCatalogDataInput, context: __SerdeContext): any => { return take(input, { aboutText: [], - architectures: (_) => _json(_), + architectures: _json, description: [], - logoImageBlob: (_) => context.base64Encoder(_), - operatingSystems: (_) => _json(_), + logoImageBlob: context.base64Encoder, + operatingSystems: _json, usageText: [], }); }; @@ -2269,7 +2269,7 @@ const se_RepositoryCatalogDataInput = (input: RepositoryCatalogDataInput, contex */ const se_UploadLayerPartRequest = (input: UploadLayerPartRequest, context: __SerdeContext): any => { return take(input, { - layerPartBlob: (_) => context.base64Encoder(_), + layerPartBlob: context.base64Encoder, partFirstByte: [], partLastByte: [], registryId: [], diff --git a/clients/client-ecr/src/protocols/Aws_json1_1.ts b/clients/client-ecr/src/protocols/Aws_json1_1.ts index 330934d1786f5..86da82f5d1237 100644 --- a/clients/client-ecr/src/protocols/Aws_json1_1.ts +++ b/clients/client-ecr/src/protocols/Aws_json1_1.ts @@ -3744,7 +3744,7 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont */ const se_UploadLayerPartRequest = (input: UploadLayerPartRequest, context: __SerdeContext): any => { return take(input, { - layerPartBlob: (_) => context.base64Encoder(_), + layerPartBlob: context.base64Encoder, partFirstByte: [], partLastByte: [], registryId: [], diff --git a/clients/client-ecs/src/protocols/Aws_json1_1.ts b/clients/client-ecs/src/protocols/Aws_json1_1.ts index 1d55955302e23..fa3448cbb7e03 100644 --- a/clients/client-ecs/src/protocols/Aws_json1_1.ts +++ b/clients/client-ecs/src/protocols/Aws_json1_1.ts @@ -4748,18 +4748,18 @@ const de_UpdateInProgressExceptionRes = async ( */ const se_CreateTaskSetRequest = (input: CreateTaskSetRequest, context: __SerdeContext): any => { return take(input, { - capacityProviderStrategy: (_) => _json(_), + capacityProviderStrategy: _json, clientToken: [], cluster: [], externalId: [], launchType: [], - loadBalancers: (_) => _json(_), - networkConfiguration: (_) => _json(_), + loadBalancers: _json, + networkConfiguration: _json, platformVersion: [], scale: (_) => se_Scale(_, context), service: [], - serviceRegistries: (_) => _json(_), - tags: (_) => _json(_), + serviceRegistries: _json, + tags: _json, taskDefinition: [], }); }; @@ -4943,15 +4943,15 @@ const se_CreateTaskSetRequest = (input: CreateTaskSetRequest, context: __SerdeCo */ const se_RegisterContainerInstanceRequest = (input: RegisterContainerInstanceRequest, context: __SerdeContext): any => { return take(input, { - attributes: (_) => _json(_), + attributes: _json, cluster: [], containerInstanceArn: [], instanceIdentityDocument: [], instanceIdentityDocumentSignature: [], - platformDevices: (_) => _json(_), - tags: (_) => _json(_), + platformDevices: _json, + tags: _json, totalResources: (_) => se_Resources(_, context), - versionInfo: (_) => _json(_), + versionInfo: _json, }); }; @@ -4964,11 +4964,11 @@ const se_RegisterContainerInstanceRequest = (input: RegisterContainerInstanceReq */ const se_Resource = (input: Resource, context: __SerdeContext): any => { return take(input, { - doubleValue: (_) => __serializeFloat(_), + doubleValue: __serializeFloat, integerValue: [], longValue: [], name: [], - stringSetValue: (_) => _json(_), + stringSetValue: _json, type: [], }); }; @@ -4998,7 +4998,7 @@ const se_Resources = (input: Resource[], context: __SerdeContext): any => { const se_Scale = (input: Scale, context: __SerdeContext): any => { return take(input, { unit: [], - value: (_) => __serializeFloat(_), + value: __serializeFloat, }); }; @@ -5039,11 +5039,11 @@ const se_Scale = (input: Scale, context: __SerdeContext): any => { */ const se_SubmitTaskStateChangeRequest = (input: SubmitTaskStateChangeRequest, context: __SerdeContext): any => { return take(input, { - attachments: (_) => _json(_), + attachments: _json, cluster: [], - containers: (_) => _json(_), + containers: _json, executionStoppedAt: (_) => Math.round(_.getTime() / 1000), - managedAgents: (_) => _json(_), + managedAgents: _json, pullStartedAt: (_) => Math.round(_.getTime() / 1000), pullStoppedAt: (_) => Math.round(_.getTime() / 1000), reason: [], diff --git a/clients/client-elasticsearch-service/src/protocols/Aws_restJson1.ts b/clients/client-elasticsearch-service/src/protocols/Aws_restJson1.ts index 1a6f0a3c87d79..a4e181fd40fd4 100644 --- a/clients/client-elasticsearch-service/src/protocols/Aws_restJson1.ts +++ b/clients/client-elasticsearch-service/src/protocols/Aws_restJson1.ts @@ -4862,7 +4862,7 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont const se_AutoTuneMaintenanceSchedule = (input: AutoTuneMaintenanceSchedule, context: __SerdeContext): any => { return take(input, { CronExpressionForRecurrence: [], - Duration: (_) => _json(_), + Duration: _json, StartAt: (_) => Math.round(_.getTime() / 1000), }); }; diff --git a/clients/client-emr-containers/src/protocols/Aws_restJson1.ts b/clients/client-emr-containers/src/protocols/Aws_restJson1.ts index 455c3ec3a6a2b..3300e6cda7e93 100644 --- a/clients/client-emr-containers/src/protocols/Aws_restJson1.ts +++ b/clients/client-emr-containers/src/protocols/Aws_restJson1.ts @@ -1790,7 +1790,7 @@ const se_Configuration = (input: Configuration, context: __SerdeContext): any => return take(input, { classification: [], configurations: (_) => se_ConfigurationList(_, context), - properties: (_) => _json(_), + properties: _json, }); }; @@ -1811,7 +1811,7 @@ const se_ConfigurationList = (input: Configuration[], context: __SerdeContext): const se_ConfigurationOverrides = (input: ConfigurationOverrides, context: __SerdeContext): any => { return take(input, { applicationConfiguration: (_) => se_ConfigurationList(_, context), - monitoringConfiguration: (_) => _json(_), + monitoringConfiguration: _json, }); }; @@ -1832,9 +1832,9 @@ const se_JobTemplateData = (input: JobTemplateData, context: __SerdeContext): an return take(input, { configurationOverrides: (_) => se_ParametricConfigurationOverrides(_, context), executionRoleArn: [], - jobDriver: (_) => _json(_), - jobTags: (_) => _json(_), - parameterConfiguration: (_) => _json(_), + jobDriver: _json, + jobTags: _json, + parameterConfiguration: _json, releaseLabel: [], }); }; @@ -1849,7 +1849,7 @@ const se_JobTemplateData = (input: JobTemplateData, context: __SerdeContext): an const se_ParametricConfigurationOverrides = (input: ParametricConfigurationOverrides, context: __SerdeContext): any => { return take(input, { applicationConfiguration: (_) => se_ConfigurationList(_, context), - monitoringConfiguration: (_) => _json(_), + monitoringConfiguration: _json, }); }; diff --git a/clients/client-emr-serverless/src/protocols/Aws_restJson1.ts b/clients/client-emr-serverless/src/protocols/Aws_restJson1.ts index e42b4eb44ccb1..cca3049774d6e 100644 --- a/clients/client-emr-serverless/src/protocols/Aws_restJson1.ts +++ b/clients/client-emr-serverless/src/protocols/Aws_restJson1.ts @@ -1477,7 +1477,7 @@ const se_Configuration = (input: Configuration, context: __SerdeContext): any => return take(input, { classification: [], configurations: (_) => se_ConfigurationList(_, context), - properties: (_) => _json(_), + properties: _json, }); }; @@ -1498,7 +1498,7 @@ const se_ConfigurationList = (input: Configuration[], context: __SerdeContext): const se_ConfigurationOverrides = (input: ConfigurationOverrides, context: __SerdeContext): any => { return take(input, { applicationConfiguration: (_) => se_ConfigurationList(_, context), - monitoringConfiguration: (_) => _json(_), + monitoringConfiguration: _json, }); }; diff --git a/clients/client-emr/src/protocols/Aws_json1_1.ts b/clients/client-emr/src/protocols/Aws_json1_1.ts index d2680bf9d59f9..06beb6d96117a 100644 --- a/clients/client-emr/src/protocols/Aws_json1_1.ts +++ b/clients/client-emr/src/protocols/Aws_json1_1.ts @@ -3564,7 +3564,7 @@ const se_AddInstanceGroupsInput = (input: AddInstanceGroupsInput, context: __Ser */ const se_AutoScalingPolicy = (input: AutoScalingPolicy, context: __SerdeContext): any => { return take(input, { - Constraints: (_) => _json(_), + Constraints: _json, Rules: (_) => se_ScalingRuleList(_, context), }); }; @@ -3579,8 +3579,8 @@ const se_BlockPublicAccessConfiguration = (input: BlockPublicAccessConfiguration BlockPublicSecurityGroupRules: [], Classification: [], Configurations: (_) => se_ConfigurationList(_, context), - PermittedPublicSecurityGroupRuleRanges: (_) => _json(_), - Properties: (_) => _json(_), + PermittedPublicSecurityGroupRuleRanges: _json, + Properties: _json, }); }; @@ -3596,13 +3596,13 @@ const se_BlockPublicAccessConfiguration = (input: BlockPublicAccessConfiguration const se_CloudWatchAlarmDefinition = (input: CloudWatchAlarmDefinition, context: __SerdeContext): any => { return take(input, { ComparisonOperator: [], - Dimensions: (_) => _json(_), + Dimensions: _json, EvaluationPeriods: [], MetricName: [], Namespace: [], Period: [], Statistic: [], - Threshold: (_) => __serializeFloat(_), + Threshold: __serializeFloat, Unit: [], }); }; @@ -3618,7 +3618,7 @@ const se_Configuration = (input: Configuration, context: __SerdeContext): any => return take(input, { Classification: [], Configurations: (_) => se_ConfigurationList(_, context), - Properties: (_) => _json(_), + Properties: _json, }); }; @@ -3654,8 +3654,8 @@ const se_DescribeJobFlowsInput = (input: DescribeJobFlowsInput, context: __Serde return take(input, { CreatedAfter: (_) => Math.round(_.getTime() / 1000), CreatedBefore: (_) => Math.round(_.getTime() / 1000), - JobFlowIds: (_) => _json(_), - JobFlowStates: (_) => _json(_), + JobFlowIds: _json, + JobFlowStates: _json, }); }; @@ -3700,9 +3700,9 @@ const se_InstanceFleetConfig = (input: InstanceFleetConfig, context: __SerdeCont return take(input, { InstanceFleetType: [], InstanceTypeConfigs: (_) => se_InstanceTypeConfigList(_, context), - LaunchSpecifications: (_) => _json(_), + LaunchSpecifications: _json, Name: [], - ResizeSpecifications: (_) => _json(_), + ResizeSpecifications: _json, TargetOnDemandCapacity: [], TargetSpotCapacity: [], }); @@ -3734,7 +3734,7 @@ const se_InstanceGroupConfig = (input: InstanceGroupConfig, context: __SerdeCont BidPrice: [], Configurations: (_) => se_ConfigurationList(_, context), CustomAmiId: [], - EbsConfiguration: (_) => _json(_), + EbsConfiguration: _json, InstanceCount: [], InstanceRole: [], InstanceType: [], @@ -3760,11 +3760,11 @@ const se_InstanceGroupConfigList = (input: InstanceGroupConfig[], context: __Ser const se_InstanceGroupModifyConfig = (input: InstanceGroupModifyConfig, context: __SerdeContext): any => { return take(input, { Configurations: (_) => se_ConfigurationList(_, context), - EC2InstanceIdsToTerminate: (_) => _json(_), + EC2InstanceIdsToTerminate: _json, InstanceCount: [], InstanceGroupId: [], ReconfigurationType: [], - ShrinkPolicy: (_) => _json(_), + ShrinkPolicy: _json, }); }; @@ -3791,10 +3791,10 @@ const se_InstanceGroupModifyConfigList = (input: InstanceGroupModifyConfig[], co const se_InstanceTypeConfig = (input: InstanceTypeConfig, context: __SerdeContext): any => { return take(input, { BidPrice: [], - BidPriceAsPercentageOfOnDemandPrice: (_) => __serializeFloat(_), + BidPriceAsPercentageOfOnDemandPrice: __serializeFloat, Configurations: (_) => se_ConfigurationList(_, context), CustomAmiId: [], - EbsConfiguration: (_) => _json(_), + EbsConfiguration: _json, InstanceType: [], WeightedCapacity: [], }); @@ -3818,11 +3818,11 @@ const se_InstanceTypeConfigList = (input: InstanceTypeConfig[], context: __Serde */ const se_JobFlowInstancesConfig = (input: JobFlowInstancesConfig, context: __SerdeContext): any => { return take(input, { - AdditionalMasterSecurityGroups: (_) => _json(_), - AdditionalSlaveSecurityGroups: (_) => _json(_), + AdditionalMasterSecurityGroups: _json, + AdditionalSlaveSecurityGroups: _json, Ec2KeyName: [], Ec2SubnetId: [], - Ec2SubnetIds: (_) => _json(_), + Ec2SubnetIds: _json, EmrManagedMasterSecurityGroup: [], EmrManagedSlaveSecurityGroup: [], HadoopVersion: [], @@ -3831,7 +3831,7 @@ const se_JobFlowInstancesConfig = (input: JobFlowInstancesConfig, context: __Ser InstanceGroups: (_) => se_InstanceGroupConfigList(_, context), KeepJobFlowAliveWhenNoSteps: [], MasterInstanceType: [], - Placement: (_) => _json(_), + Placement: _json, ServiceAccessSecurityGroup: [], SlaveInstanceType: [], TerminationProtected: [], @@ -3851,7 +3851,7 @@ const se_JobFlowInstancesConfig = (input: JobFlowInstancesConfig, context: __Ser */ const se_ListClustersInput = (input: ListClustersInput, context: __SerdeContext): any => { return take(input, { - ClusterStates: (_) => _json(_), + ClusterStates: _json, CreatedAfter: (_) => Math.round(_.getTime() / 1000), CreatedBefore: (_) => Math.round(_.getTime() / 1000), Marker: [], @@ -3969,32 +3969,32 @@ const se_RunJobFlowInput = (input: RunJobFlowInput, context: __SerdeContext): an return take(input, { AdditionalInfo: [], AmiVersion: [], - Applications: (_) => _json(_), + Applications: _json, AutoScalingRole: [], - AutoTerminationPolicy: (_) => _json(_), - BootstrapActions: (_) => _json(_), + AutoTerminationPolicy: _json, + BootstrapActions: _json, Configurations: (_) => se_ConfigurationList(_, context), CustomAmiId: [], EbsRootVolumeSize: [], Instances: (_) => se_JobFlowInstancesConfig(_, context), JobFlowRole: [], - KerberosAttributes: (_) => _json(_), + KerberosAttributes: _json, LogEncryptionKmsKeyId: [], LogUri: [], - ManagedScalingPolicy: (_) => _json(_), + ManagedScalingPolicy: _json, Name: [], - NewSupportedProducts: (_) => _json(_), + NewSupportedProducts: _json, OSReleaseLabel: [], - PlacementGroupConfigs: (_) => _json(_), + PlacementGroupConfigs: _json, ReleaseLabel: [], RepoUpgradeOnBoot: [], ScaleDownBehavior: [], SecurityConfiguration: [], ServiceRole: [], StepConcurrencyLevel: [], - Steps: (_) => _json(_), - SupportedProducts: (_) => _json(_), - Tags: (_) => _json(_), + Steps: _json, + SupportedProducts: _json, + Tags: _json, VisibleToAllUsers: [], }); }; @@ -4008,7 +4008,7 @@ const se_RunJobFlowInput = (input: RunJobFlowInput, context: __SerdeContext): an */ const se_ScalingRule = (input: ScalingRule, context: __SerdeContext): any => { return take(input, { - Action: (_) => _json(_), + Action: _json, Description: [], Name: [], Trigger: (_) => se_ScalingTrigger(_, context), diff --git a/clients/client-eventbridge/src/protocols/Aws_json1_1.ts b/clients/client-eventbridge/src/protocols/Aws_json1_1.ts index d72bb65760529..d5777031c9e1d 100644 --- a/clients/client-eventbridge/src/protocols/Aws_json1_1.ts +++ b/clients/client-eventbridge/src/protocols/Aws_json1_1.ts @@ -4248,7 +4248,7 @@ const se_PutEventsRequestEntry = (input: PutEventsRequestEntry, context: __Serde Detail: [], DetailType: [], EventBusName: [], - Resources: (_) => _json(_), + Resources: _json, Source: [], Time: (_) => Math.round(_.getTime() / 1000), TraceHeader: [], @@ -4282,7 +4282,7 @@ const se_PutPartnerEventsRequestEntry = (input: PutPartnerEventsRequestEntry, co return take(input, { Detail: [], DetailType: [], - Resources: (_) => _json(_), + Resources: _json, Source: [], Time: (_) => Math.round(_.getTime() / 1000), }); @@ -4349,7 +4349,7 @@ const se_PutPartnerEventsRequestEntryList = (input: PutPartnerEventsRequestEntry const se_StartReplayRequest = (input: StartReplayRequest, context: __SerdeContext): any => { return take(input, { Description: [], - Destination: (_) => _json(_), + Destination: _json, EventEndTime: (_) => Math.round(_.getTime() / 1000), EventSourceArn: [], EventStartTime: (_) => Math.round(_.getTime() / 1000), diff --git a/clients/client-evidently/src/protocols/Aws_restJson1.ts b/clients/client-evidently/src/protocols/Aws_restJson1.ts index ae099930a445f..ab7fb4bb34de3 100644 --- a/clients/client-evidently/src/protocols/Aws_restJson1.ts +++ b/clients/client-evidently/src/protocols/Aws_restJson1.ts @@ -3621,7 +3621,7 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont const se_EvaluationRequest = (input: EvaluationRequest, context: __SerdeContext): any => { return take(input, { entityId: [], - evaluationContext: (_) => __LazyJsonString.fromObject(_), + evaluationContext: __LazyJsonString.fromObject, feature: [], }); }; @@ -3642,7 +3642,7 @@ const se_EvaluationRequestsList = (input: EvaluationRequest[], context: __SerdeC */ const se_Event = (input: Event, context: __SerdeContext): any => { return take(input, { - data: (_) => __LazyJsonString.fromObject(_), + data: __LazyJsonString.fromObject, timestamp: (_) => Math.round(_.getTime() / 1000), type: [], }); @@ -3675,7 +3675,7 @@ const se_EventList = (input: Event[], context: __SerdeContext): any => { const se_MetricDefinitionConfig = (input: MetricDefinitionConfig, context: __SerdeContext): any => { return take(input, { entityIdKey: [], - eventPattern: (_) => __LazyJsonString.fromObject(_), + eventPattern: __LazyJsonString.fromObject, name: [], unitLabel: [], valueKey: [], @@ -3738,8 +3738,8 @@ const se_MetricMonitorConfigList = (input: MetricMonitorConfig[], context: __Ser */ const se_ScheduledSplitConfig = (input: ScheduledSplitConfig, context: __SerdeContext): any => { return take(input, { - groupWeights: (_) => _json(_), - segmentOverrides: (_) => _json(_), + groupWeights: _json, + segmentOverrides: _json, startTime: (_) => Math.round(_.getTime() / 1000), }); }; diff --git a/clients/client-firehose/src/protocols/Aws_json1_1.ts b/clients/client-firehose/src/protocols/Aws_json1_1.ts index 023ef7c6475c3..43ae03f6b3ee5 100644 --- a/clients/client-firehose/src/protocols/Aws_json1_1.ts +++ b/clients/client-firehose/src/protocols/Aws_json1_1.ts @@ -1067,19 +1067,19 @@ const de_ServiceUnavailableExceptionRes = async ( */ const se_CreateDeliveryStreamInput = (input: CreateDeliveryStreamInput, context: __SerdeContext): any => { return take(input, { - AmazonOpenSearchServerlessDestinationConfiguration: (_) => _json(_), - AmazonopensearchserviceDestinationConfiguration: (_) => _json(_), - DeliveryStreamEncryptionConfigurationInput: (_) => _json(_), + AmazonOpenSearchServerlessDestinationConfiguration: _json, + AmazonopensearchserviceDestinationConfiguration: _json, + DeliveryStreamEncryptionConfigurationInput: _json, DeliveryStreamName: [], DeliveryStreamType: [], - ElasticsearchDestinationConfiguration: (_) => _json(_), + ElasticsearchDestinationConfiguration: _json, ExtendedS3DestinationConfiguration: (_) => se_ExtendedS3DestinationConfiguration(_, context), - HttpEndpointDestinationConfiguration: (_) => _json(_), - KinesisStreamSourceConfiguration: (_) => _json(_), - RedshiftDestinationConfiguration: (_) => _json(_), - S3DestinationConfiguration: (_) => _json(_), - SplunkDestinationConfiguration: (_) => _json(_), - Tags: (_) => _json(_), + HttpEndpointDestinationConfiguration: _json, + KinesisStreamSourceConfiguration: _json, + RedshiftDestinationConfiguration: _json, + S3DestinationConfiguration: _json, + SplunkDestinationConfiguration: _json, + Tags: _json, }); }; @@ -1092,9 +1092,9 @@ const se_DataFormatConversionConfiguration = ( ): any => { return take(input, { Enabled: [], - InputFormatConfiguration: (_) => _json(_), + InputFormatConfiguration: _json, OutputFormatConfiguration: (_) => se_OutputFormatConfiguration(_, context), - SchemaConfiguration: (_) => _json(_), + SchemaConfiguration: _json, }); }; @@ -1127,17 +1127,17 @@ const se_ExtendedS3DestinationConfiguration = ( ): any => { return take(input, { BucketARN: [], - BufferingHints: (_) => _json(_), - CloudWatchLoggingOptions: (_) => _json(_), + BufferingHints: _json, + CloudWatchLoggingOptions: _json, CompressionFormat: [], DataFormatConversionConfiguration: (_) => se_DataFormatConversionConfiguration(_, context), - DynamicPartitioningConfiguration: (_) => _json(_), - EncryptionConfiguration: (_) => _json(_), + DynamicPartitioningConfiguration: _json, + EncryptionConfiguration: _json, ErrorOutputPrefix: [], Prefix: [], - ProcessingConfiguration: (_) => _json(_), + ProcessingConfiguration: _json, RoleARN: [], - S3BackupConfiguration: (_) => _json(_), + S3BackupConfiguration: _json, S3BackupMode: [], }); }; @@ -1148,18 +1148,18 @@ const se_ExtendedS3DestinationConfiguration = ( const se_ExtendedS3DestinationUpdate = (input: ExtendedS3DestinationUpdate, context: __SerdeContext): any => { return take(input, { BucketARN: [], - BufferingHints: (_) => _json(_), - CloudWatchLoggingOptions: (_) => _json(_), + BufferingHints: _json, + CloudWatchLoggingOptions: _json, CompressionFormat: [], DataFormatConversionConfiguration: (_) => se_DataFormatConversionConfiguration(_, context), - DynamicPartitioningConfiguration: (_) => _json(_), - EncryptionConfiguration: (_) => _json(_), + DynamicPartitioningConfiguration: _json, + EncryptionConfiguration: _json, ErrorOutputPrefix: [], Prefix: [], - ProcessingConfiguration: (_) => _json(_), + ProcessingConfiguration: _json, RoleARN: [], S3BackupMode: [], - S3BackupUpdate: (_) => _json(_), + S3BackupUpdate: _json, }); }; @@ -1203,13 +1203,13 @@ const se_ExtendedS3DestinationUpdate = (input: ExtendedS3DestinationUpdate, cont const se_OrcSerDe = (input: OrcSerDe, context: __SerdeContext): any => { return take(input, { BlockSizeBytes: [], - BloomFilterColumns: (_) => _json(_), - BloomFilterFalsePositiveProbability: (_) => __serializeFloat(_), + BloomFilterColumns: _json, + BloomFilterFalsePositiveProbability: __serializeFloat, Compression: [], - DictionaryKeyThreshold: (_) => __serializeFloat(_), + DictionaryKeyThreshold: __serializeFloat, EnablePadding: [], FormatVersion: [], - PaddingTolerance: (_) => __serializeFloat(_), + PaddingTolerance: __serializeFloat, RowIndexStride: [], StripeSizeBytes: [], }); @@ -1272,7 +1272,7 @@ const se_PutRecordInput = (input: PutRecordInput, context: __SerdeContext): any */ const se__Record = (input: _Record, context: __SerdeContext): any => { return take(input, { - Data: (_) => context.base64Encoder(_), + Data: context.base64Encoder, }); }; @@ -1298,7 +1298,7 @@ const se__Record = (input: _Record, context: __SerdeContext): any => { const se_Serializer = (input: Serializer, context: __SerdeContext): any => { return take(input, { OrcSerDe: (_) => se_OrcSerDe(_, context), - ParquetSerDe: (_) => _json(_), + ParquetSerDe: _json, }); }; @@ -1329,17 +1329,17 @@ const se_Serializer = (input: Serializer, context: __SerdeContext): any => { */ const se_UpdateDestinationInput = (input: UpdateDestinationInput, context: __SerdeContext): any => { return take(input, { - AmazonOpenSearchServerlessDestinationUpdate: (_) => _json(_), - AmazonopensearchserviceDestinationUpdate: (_) => _json(_), + AmazonOpenSearchServerlessDestinationUpdate: _json, + AmazonopensearchserviceDestinationUpdate: _json, CurrentDeliveryStreamVersionId: [], DeliveryStreamName: [], DestinationId: [], - ElasticsearchDestinationUpdate: (_) => _json(_), + ElasticsearchDestinationUpdate: _json, ExtendedS3DestinationUpdate: (_) => se_ExtendedS3DestinationUpdate(_, context), - HttpEndpointDestinationUpdate: (_) => _json(_), - RedshiftDestinationUpdate: (_) => _json(_), - S3DestinationUpdate: (_) => _json(_), - SplunkDestinationUpdate: (_) => _json(_), + HttpEndpointDestinationUpdate: _json, + RedshiftDestinationUpdate: _json, + S3DestinationUpdate: _json, + SplunkDestinationUpdate: _json, }); }; diff --git a/clients/client-fms/src/protocols/Aws_json1_1.ts b/clients/client-fms/src/protocols/Aws_json1_1.ts index a3df78bcf3c48..9969cc6fc126e 100644 --- a/clients/client-fms/src/protocols/Aws_json1_1.ts +++ b/clients/client-fms/src/protocols/Aws_json1_1.ts @@ -2821,13 +2821,13 @@ const de_ResourceNotFoundExceptionRes = async ( */ const se_AppsListData = (input: AppsListData, context: __SerdeContext): any => { return take(input, { - AppsList: (_) => _json(_), + AppsList: _json, CreateTime: (_) => Math.round(_.getTime() / 1000), LastUpdateTime: (_) => Math.round(_.getTime() / 1000), ListId: [], ListName: [], ListUpdateToken: [], - PreviousAppsList: (_) => _json(_), + PreviousAppsList: _json, }); }; @@ -2935,8 +2935,8 @@ const se_ProtocolsListData = (input: ProtocolsListData, context: __SerdeContext) ListId: [], ListName: [], ListUpdateToken: [], - PreviousProtocolsList: (_) => _json(_), - ProtocolsList: (_) => _json(_), + PreviousProtocolsList: _json, + ProtocolsList: _json, }); }; @@ -2946,7 +2946,7 @@ const se_ProtocolsListData = (input: ProtocolsListData, context: __SerdeContext) const se_PutAppsListRequest = (input: PutAppsListRequest, context: __SerdeContext): any => { return take(input, { AppsList: (_) => se_AppsListData(_, context), - TagList: (_) => _json(_), + TagList: _json, }); }; @@ -2960,7 +2960,7 @@ const se_PutAppsListRequest = (input: PutAppsListRequest, context: __SerdeContex const se_PutProtocolsListRequest = (input: PutProtocolsListRequest, context: __SerdeContext): any => { return take(input, { ProtocolsList: (_) => se_ProtocolsListData(_, context), - TagList: (_) => _json(_), + TagList: _json, }); }; @@ -2970,7 +2970,7 @@ const se_PutProtocolsListRequest = (input: PutProtocolsListRequest, context: __S const se_PutResourceSetRequest = (input: PutResourceSetRequest, context: __SerdeContext): any => { return take(input, { ResourceSet: (_) => se_ResourceSet(_, context), - TagList: (_) => _json(_), + TagList: _json, }); }; @@ -2983,7 +2983,7 @@ const se_ResourceSet = (input: ResourceSet, context: __SerdeContext): any => { Id: [], LastUpdateTime: (_) => Math.round(_.getTime() / 1000), Name: [], - ResourceTypeList: (_) => _json(_), + ResourceTypeList: _json, UpdateToken: [], }); }; diff --git a/clients/client-forecast/src/protocols/Aws_json1_1.ts b/clients/client-forecast/src/protocols/Aws_json1_1.ts index 2af0e1fb5a0d7..c87c064d46946 100644 --- a/clients/client-forecast/src/protocols/Aws_json1_1.ts +++ b/clients/client-forecast/src/protocols/Aws_json1_1.ts @@ -4492,7 +4492,7 @@ const se_Action = (input: Action, context: __SerdeContext): any => { return take(input, { AttributeName: [], Operation: [], - Value: (_) => __serializeFloat(_), + Value: __serializeFloat, }); }; @@ -4517,8 +4517,8 @@ const se_Action = (input: Action, context: __SerdeContext): any => { */ const se_ContinuousParameterRange = (input: ContinuousParameterRange, context: __SerdeContext): any => { return take(input, { - MaxValue: (_) => __serializeFloat(_), - MinValue: (_) => __serializeFloat(_), + MaxValue: __serializeFloat, + MinValue: __serializeFloat, Name: [], ScalingType: [], }); @@ -4562,19 +4562,19 @@ const se_CreatePredictorRequest = (input: CreatePredictorRequest, context: __Ser return take(input, { AlgorithmArn: [], AutoMLOverrideStrategy: [], - EncryptionConfig: (_) => _json(_), - EvaluationParameters: (_) => _json(_), - FeaturizationConfig: (_) => _json(_), + EncryptionConfig: _json, + EvaluationParameters: _json, + FeaturizationConfig: _json, ForecastHorizon: [], - ForecastTypes: (_) => _json(_), + ForecastTypes: _json, HPOConfig: (_) => se_HyperParameterTuningJobConfig(_, context), - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, OptimizationMetric: [], PerformAutoML: [], PerformHPO: [], PredictorName: [], - Tags: (_) => _json(_), - TrainingParameters: (_) => _json(_), + Tags: _json, + TrainingParameters: _json, }); }; @@ -4587,8 +4587,8 @@ const se_CreatePredictorRequest = (input: CreatePredictorRequest, context: __Ser */ const se_CreateWhatIfForecastRequest = (input: CreateWhatIfForecastRequest, context: __SerdeContext): any => { return take(input, { - Tags: (_) => _json(_), - TimeSeriesReplacementsDataSource: (_) => _json(_), + Tags: _json, + TimeSeriesReplacementsDataSource: _json, TimeSeriesTransformations: (_) => se_TimeSeriesTransformations(_, context), WhatIfAnalysisArn: [], WhatIfForecastName: [], @@ -4737,9 +4737,9 @@ const se_HyperParameterTuningJobConfig = (input: HyperParameterTuningJobConfig, */ const se_ParameterRanges = (input: ParameterRanges, context: __SerdeContext): any => { return take(input, { - CategoricalParameterRanges: (_) => _json(_), + CategoricalParameterRanges: _json, ContinuousParameterRanges: (_) => se_ContinuousParameterRanges(_, context), - IntegerParameterRanges: (_) => _json(_), + IntegerParameterRanges: _json, }); }; @@ -4785,7 +4785,7 @@ const se_ParameterRanges = (input: ParameterRanges, context: __SerdeContext): an const se_TimeSeriesTransformation = (input: TimeSeriesTransformation, context: __SerdeContext): any => { return take(input, { Action: (_) => se_Action(_, context), - TimeSeriesConditions: (_) => _json(_), + TimeSeriesConditions: _json, }); }; diff --git a/clients/client-frauddetector/src/protocols/Aws_json1_1.ts b/clients/client-frauddetector/src/protocols/Aws_json1_1.ts index e91eb02b301be..28b6ebafa8199 100644 --- a/clients/client-frauddetector/src/protocols/Aws_json1_1.ts +++ b/clients/client-frauddetector/src/protocols/Aws_json1_1.ts @@ -5681,11 +5681,11 @@ const se_GetEventPredictionRequest = (input: GetEventPredictionRequest, context: return take(input, { detectorId: [], detectorVersionId: [], - entities: (_) => _json(_), + entities: _json, eventId: [], eventTimestamp: [], eventTypeName: [], - eventVariables: (_) => _json(_), + eventVariables: _json, externalModelEndpointDataBlobs: (_) => se_ExternalModelEndpointDataBlobMap(_, context), }); }; @@ -5737,7 +5737,7 @@ const se_GetEventPredictionRequest = (input: GetEventPredictionRequest, context: */ const se_ModelEndpointDataBlob = (input: ModelEndpointDataBlob, context: __SerdeContext): any => { return take(input, { - byteBuffer: (_) => context.base64Encoder(_), + byteBuffer: context.base64Encoder, contentType: [], }); }; diff --git a/clients/client-fsx/src/protocols/Aws_json1_1.ts b/clients/client-fsx/src/protocols/Aws_json1_1.ts index b85594137e251..c39a28f5ff4c7 100644 --- a/clients/client-fsx/src/protocols/Aws_json1_1.ts +++ b/clients/client-fsx/src/protocols/Aws_json1_1.ts @@ -3762,7 +3762,7 @@ const se_AssociateFileSystemAliasesRequest = ( context: __SerdeContext ): any => { return take(input, { - Aliases: (_) => _json(_), + Aliases: _json, ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), FileSystemId: [], }); @@ -3788,7 +3788,7 @@ const se_CopyBackupRequest = (input: CopyBackupRequest, context: __SerdeContext) KmsKeyId: [], SourceBackupId: [], SourceRegion: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -3799,7 +3799,7 @@ const se_CreateBackupRequest = (input: CreateBackupRequest, context: __SerdeCont return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), FileSystemId: [], - Tags: (_) => _json(_), + Tags: _json, VolumeId: [], }); }; @@ -3818,8 +3818,8 @@ const se_CreateDataRepositoryAssociationRequest = ( FileSystemId: [], FileSystemPath: [], ImportedFileChunkSize: [], - S3: (_) => _json(_), - Tags: (_) => _json(_), + S3: _json, + Tags: _json, }); }; @@ -3831,9 +3831,9 @@ const se_CreateDataRepositoryTaskRequest = (input: CreateDataRepositoryTaskReque CapacityToRelease: [], ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), FileSystemId: [], - Paths: (_) => _json(_), - Report: (_) => _json(_), - Tags: (_) => _json(_), + Paths: _json, + Report: _json, + Tags: _json, Type: [], }); }; @@ -3849,15 +3849,15 @@ const se_CreateFileCacheRequest = (input: CreateFileCacheRequest, context: __Ser return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), CopyTagsToDataRepositoryAssociations: [], - DataRepositoryAssociations: (_) => _json(_), + DataRepositoryAssociations: _json, FileCacheType: [], FileCacheTypeVersion: [], KmsKeyId: [], - LustreConfiguration: (_) => _json(_), - SecurityGroupIds: (_) => _json(_), + LustreConfiguration: _json, + SecurityGroupIds: _json, StorageCapacity: [], - SubnetIds: (_) => _json(_), - Tags: (_) => _json(_), + SubnetIds: _json, + Tags: _json, }); }; @@ -3873,14 +3873,14 @@ const se_CreateFileSystemFromBackupRequest = ( ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), FileSystemTypeVersion: [], KmsKeyId: [], - LustreConfiguration: (_) => _json(_), - OpenZFSConfiguration: (_) => _json(_), - SecurityGroupIds: (_) => _json(_), + LustreConfiguration: _json, + OpenZFSConfiguration: _json, + SecurityGroupIds: _json, StorageCapacity: [], StorageType: [], - SubnetIds: (_) => _json(_), - Tags: (_) => _json(_), - WindowsConfiguration: (_) => _json(_), + SubnetIds: _json, + Tags: _json, + WindowsConfiguration: _json, }); }; @@ -3899,15 +3899,15 @@ const se_CreateFileSystemRequest = (input: CreateFileSystemRequest, context: __S FileSystemType: [], FileSystemTypeVersion: [], KmsKeyId: [], - LustreConfiguration: (_) => _json(_), - OntapConfiguration: (_) => _json(_), - OpenZFSConfiguration: (_) => _json(_), - SecurityGroupIds: (_) => _json(_), + LustreConfiguration: _json, + OntapConfiguration: _json, + OpenZFSConfiguration: _json, + SecurityGroupIds: _json, StorageCapacity: [], StorageType: [], - SubnetIds: (_) => _json(_), - Tags: (_) => _json(_), - WindowsConfiguration: (_) => _json(_), + SubnetIds: _json, + Tags: _json, + WindowsConfiguration: _json, }); }; @@ -3926,7 +3926,7 @@ const se_CreateSnapshotRequest = (input: CreateSnapshotRequest, context: __Serde return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), Name: [], - Tags: (_) => _json(_), + Tags: _json, VolumeId: [], }); }; @@ -3939,13 +3939,13 @@ const se_CreateStorageVirtualMachineRequest = ( context: __SerdeContext ): any => { return take(input, { - ActiveDirectoryConfiguration: (_) => _json(_), + ActiveDirectoryConfiguration: _json, ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), FileSystemId: [], Name: [], RootVolumeSecurityStyle: [], SvmAdminPassword: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -3959,8 +3959,8 @@ const se_CreateVolumeFromBackupRequest = (input: CreateVolumeFromBackupRequest, BackupId: [], ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), Name: [], - OntapConfiguration: (_) => _json(_), - Tags: (_) => _json(_), + OntapConfiguration: _json, + Tags: _json, }); }; @@ -3971,9 +3971,9 @@ const se_CreateVolumeRequest = (input: CreateVolumeRequest, context: __SerdeCont return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), Name: [], - OntapConfiguration: (_) => _json(_), - OpenZFSConfiguration: (_) => _json(_), - Tags: (_) => _json(_), + OntapConfiguration: _json, + OpenZFSConfiguration: _json, + Tags: _json, VolumeType: [], }); }; @@ -4035,9 +4035,9 @@ const se_DeleteFileSystemRequest = (input: DeleteFileSystemRequest, context: __S return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), FileSystemId: [], - LustreConfiguration: (_) => _json(_), - OpenZFSConfiguration: (_) => _json(_), - WindowsConfiguration: (_) => _json(_), + LustreConfiguration: _json, + OpenZFSConfiguration: _json, + WindowsConfiguration: _json, }); }; @@ -4078,8 +4078,8 @@ const se_DeleteStorageVirtualMachineRequest = ( const se_DeleteVolumeRequest = (input: DeleteVolumeRequest, context: __SerdeContext): any => { return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), - OntapConfiguration: (_) => _json(_), - OpenZFSConfiguration: (_) => _json(_), + OntapConfiguration: _json, + OpenZFSConfiguration: _json, VolumeId: [], }); }; @@ -4120,7 +4120,7 @@ const se_DisassociateFileSystemAliasesRequest = ( context: __SerdeContext ): any => { return take(input, { - Aliases: (_) => _json(_), + Aliases: _json, ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), FileSystemId: [], }); @@ -4195,7 +4195,7 @@ const se_ReleaseFileSystemNfsV3LocksRequest = ( const se_RestoreVolumeFromSnapshotRequest = (input: RestoreVolumeFromSnapshotRequest, context: __SerdeContext): any => { return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), - Options: (_) => _json(_), + Options: _json, SnapshotId: [], VolumeId: [], }); @@ -4256,7 +4256,7 @@ const se_UpdateDataRepositoryAssociationRequest = ( AssociationId: [], ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), ImportedFileChunkSize: [], - S3: (_) => _json(_), + S3: _json, }); }; @@ -4269,7 +4269,7 @@ const se_UpdateFileCacheRequest = (input: UpdateFileCacheRequest, context: __Ser return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), FileCacheId: [], - LustreConfiguration: (_) => _json(_), + LustreConfiguration: _json, }); }; @@ -4286,11 +4286,11 @@ const se_UpdateFileSystemRequest = (input: UpdateFileSystemRequest, context: __S return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), FileSystemId: [], - LustreConfiguration: (_) => _json(_), - OntapConfiguration: (_) => _json(_), - OpenZFSConfiguration: (_) => _json(_), + LustreConfiguration: _json, + OntapConfiguration: _json, + OpenZFSConfiguration: _json, StorageCapacity: [], - WindowsConfiguration: (_) => _json(_), + WindowsConfiguration: _json, }); }; @@ -4319,7 +4319,7 @@ const se_UpdateStorageVirtualMachineRequest = ( context: __SerdeContext ): any => { return take(input, { - ActiveDirectoryConfiguration: (_) => _json(_), + ActiveDirectoryConfiguration: _json, ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), StorageVirtualMachineId: [], SvmAdminPassword: [], @@ -4335,8 +4335,8 @@ const se_UpdateVolumeRequest = (input: UpdateVolumeRequest, context: __SerdeCont return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), Name: [], - OntapConfiguration: (_) => _json(_), - OpenZFSConfiguration: (_) => _json(_), + OntapConfiguration: _json, + OpenZFSConfiguration: _json, VolumeId: [], }); }; diff --git a/clients/client-gamelift/src/protocols/Aws_json1_1.ts b/clients/client-gamelift/src/protocols/Aws_json1_1.ts index fe84258f3a278..4672bf6962ae8 100644 --- a/clients/client-gamelift/src/protocols/Aws_json1_1.ts +++ b/clients/client-gamelift/src/protocols/Aws_json1_1.ts @@ -8006,10 +8006,10 @@ const de_UnsupportedRegionExceptionRes = async ( */ const se_AttributeValue = (input: AttributeValue, context: __SerdeContext): any => { return take(input, { - N: (_) => __serializeFloat(_), + N: __serializeFloat, S: [], SDM: (_) => se_PlayerAttributeStringDoubleMap(_, context), - SL: (_) => _json(_), + SL: _json, }); }; @@ -8034,13 +8034,13 @@ const se_CreateGameServerGroupInput = (input: CreateGameServerGroupInput, contex BalancingStrategy: [], GameServerGroupName: [], GameServerProtectionPolicy: [], - InstanceDefinitions: (_) => _json(_), - LaunchTemplate: (_) => _json(_), + InstanceDefinitions: _json, + LaunchTemplate: _json, MaxSize: [], MinSize: [], RoleArn: [], - Tags: (_) => _json(_), - VpcSubnets: (_) => _json(_), + Tags: _json, + VpcSubnets: _json, }); }; @@ -8064,10 +8064,10 @@ const se_CreateGameServerGroupInput = (input: CreateGameServerGroupInput, contex const se_CreateScriptInput = (input: CreateScriptInput, context: __SerdeContext): any => { return take(input, { Name: [], - StorageLocation: (_) => _json(_), - Tags: (_) => _json(_), + StorageLocation: _json, + Tags: _json, Version: [], - ZipFile: (_) => context.base64Encoder(_), + ZipFile: context.base64Encoder, }); }; @@ -8267,7 +8267,7 @@ const se_GameServerGroupAutoScalingPolicy = (input: GameServerGroupAutoScalingPo */ const se_Player = (input: Player, context: __SerdeContext): any => { return take(input, { - LatencyInMs: (_) => _json(_), + LatencyInMs: _json, PlayerAttributes: (_) => se_PlayerAttributeMap(_, context), PlayerId: [], Team: [], @@ -8311,7 +8311,7 @@ const se_PlayerAttributeStringDoubleMap = (input: Record, contex */ const se_PlayerLatency = (input: PlayerLatency, context: __SerdeContext): any => { return take(input, { - LatencyInMilliseconds: (_) => __serializeFloat(_), + LatencyInMilliseconds: __serializeFloat, PlayerId: [], RegionIdentifier: [], }); @@ -8361,7 +8361,7 @@ const se_PutScalingPolicyInput = (input: PutScalingPolicyInput, context: __Serde ScalingAdjustment: [], ScalingAdjustmentType: [], TargetConfiguration: (_) => se_TargetConfiguration(_, context), - Threshold: (_) => __serializeFloat(_), + Threshold: __serializeFloat, }); }; @@ -8398,8 +8398,8 @@ const se_PutScalingPolicyInput = (input: PutScalingPolicyInput, context: __Serde */ const se_StartGameSessionPlacementInput = (input: StartGameSessionPlacementInput, context: __SerdeContext): any => { return take(input, { - DesiredPlayerSessions: (_) => _json(_), - GameProperties: (_) => _json(_), + DesiredPlayerSessions: _json, + GameProperties: _json, GameSessionData: [], GameSessionName: [], GameSessionQueueName: [], @@ -8455,7 +8455,7 @@ const se_StartMatchmakingInput = (input: StartMatchmakingInput, context: __Serde */ const se_TargetConfiguration = (input: TargetConfiguration, context: __SerdeContext): any => { return take(input, { - TargetValue: (_) => __serializeFloat(_), + TargetValue: __serializeFloat, }); }; @@ -8464,7 +8464,7 @@ const se_TargetConfiguration = (input: TargetConfiguration, context: __SerdeCont */ const se_TargetTrackingConfiguration = (input: TargetTrackingConfiguration, context: __SerdeContext): any => { return take(input, { - TargetValue: (_) => __serializeFloat(_), + TargetValue: __serializeFloat, }); }; @@ -8499,9 +8499,9 @@ const se_UpdateScriptInput = (input: UpdateScriptInput, context: __SerdeContext) return take(input, { Name: [], ScriptId: [], - StorageLocation: (_) => _json(_), + StorageLocation: _json, Version: [], - ZipFile: (_) => context.base64Encoder(_), + ZipFile: context.base64Encoder, }); }; diff --git a/clients/client-gamesparks/src/protocols/Aws_restJson1.ts b/clients/client-gamesparks/src/protocols/Aws_restJson1.ts index 85a5673251ac3..6def0256e1d3e 100644 --- a/clients/client-gamesparks/src/protocols/Aws_restJson1.ts +++ b/clients/client-gamesparks/src/protocols/Aws_restJson1.ts @@ -3153,7 +3153,7 @@ const se_Document = (input: __DocumentType, context: __SerdeContext): any => { */ const se_ImportGameConfigurationSource = (input: ImportGameConfigurationSource, context: __SerdeContext): any => { return take(input, { - File: (_) => context.base64Encoder(_), + File: context.base64Encoder, }); }; diff --git a/clients/client-global-accelerator/src/protocols/Aws_json1_1.ts b/clients/client-global-accelerator/src/protocols/Aws_json1_1.ts index b6ca77ddf80e9..dae31b284680f 100644 --- a/clients/client-global-accelerator/src/protocols/Aws_json1_1.ts +++ b/clients/client-global-accelerator/src/protocols/Aws_json1_1.ts @@ -3913,9 +3913,9 @@ const se_CreateAcceleratorRequest = (input: CreateAcceleratorRequest, context: _ Enabled: [], IdempotencyToken: (_) => _ ?? generateIdempotencyToken(), IpAddressType: [], - IpAddresses: (_) => _json(_), + IpAddresses: _json, Name: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -3930,9 +3930,9 @@ const se_CreateCustomRoutingAcceleratorRequest = ( Enabled: [], IdempotencyToken: (_) => _ ?? generateIdempotencyToken(), IpAddressType: [], - IpAddresses: (_) => _json(_), + IpAddresses: _json, Name: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -3944,7 +3944,7 @@ const se_CreateCustomRoutingEndpointGroupRequest = ( context: __SerdeContext ): any => { return take(input, { - DestinationConfigurations: (_) => _json(_), + DestinationConfigurations: _json, EndpointGroupRegion: [], IdempotencyToken: (_) => _ ?? generateIdempotencyToken(), ListenerArn: [], @@ -3961,7 +3961,7 @@ const se_CreateCustomRoutingListenerRequest = ( return take(input, { AcceleratorArn: [], IdempotencyToken: (_) => _ ?? generateIdempotencyToken(), - PortRanges: (_) => _json(_), + PortRanges: _json, }); }; @@ -3970,7 +3970,7 @@ const se_CreateCustomRoutingListenerRequest = ( */ const se_CreateEndpointGroupRequest = (input: CreateEndpointGroupRequest, context: __SerdeContext): any => { return take(input, { - EndpointConfigurations: (_) => _json(_), + EndpointConfigurations: _json, EndpointGroupRegion: [], HealthCheckIntervalSeconds: [], HealthCheckPath: [], @@ -3978,9 +3978,9 @@ const se_CreateEndpointGroupRequest = (input: CreateEndpointGroupRequest, contex HealthCheckProtocol: [], IdempotencyToken: (_) => _ ?? generateIdempotencyToken(), ListenerArn: [], - PortOverrides: (_) => _json(_), + PortOverrides: _json, ThresholdCount: [], - TrafficDialPercentage: (_) => __serializeFloat(_), + TrafficDialPercentage: __serializeFloat, }); }; @@ -3992,7 +3992,7 @@ const se_CreateListenerRequest = (input: CreateListenerRequest, context: __Serde AcceleratorArn: [], ClientAffinity: [], IdempotencyToken: (_) => _ ?? generateIdempotencyToken(), - PortRanges: (_) => _json(_), + PortRanges: _json, Protocol: [], }); }; @@ -4114,15 +4114,15 @@ const se_CreateListenerRequest = (input: CreateListenerRequest, context: __Serde */ const se_UpdateEndpointGroupRequest = (input: UpdateEndpointGroupRequest, context: __SerdeContext): any => { return take(input, { - EndpointConfigurations: (_) => _json(_), + EndpointConfigurations: _json, EndpointGroupArn: [], HealthCheckIntervalSeconds: [], HealthCheckPath: [], HealthCheckPort: [], HealthCheckProtocol: [], - PortOverrides: (_) => _json(_), + PortOverrides: _json, ThresholdCount: [], - TrafficDialPercentage: (_) => __serializeFloat(_), + TrafficDialPercentage: __serializeFloat, }); }; diff --git a/clients/client-glue/src/protocols/Aws_json1_1.ts b/clients/client-glue/src/protocols/Aws_json1_1.ts index 847d6ffe00bea..414f03189ba88 100644 --- a/clients/client-glue/src/protocols/Aws_json1_1.ts +++ b/clients/client-glue/src/protocols/Aws_json1_1.ts @@ -15605,7 +15605,7 @@ const de_VersionMismatchExceptionRes = async ( */ const se_ApplyMapping = (input: ApplyMapping, context: __SerdeContext): any => { return take(input, { - Inputs: (_) => _json(_), + Inputs: _json, Mapping: (_) => se_Mappings(_, context), Name: [], }); @@ -15689,7 +15689,7 @@ const se_BatchUpdatePartitionRequest = (input: BatchUpdatePartitionRequest, cont const se_BatchUpdatePartitionRequestEntry = (input: BatchUpdatePartitionRequestEntry, context: __SerdeContext): any => { return take(input, { PartitionInput: (_) => se_PartitionInput(_, context), - PartitionValueList: (_) => _json(_), + PartitionValueList: _json, }); }; @@ -15712,7 +15712,7 @@ const se_BatchUpdatePartitionRequestEntryList = ( */ const se_BinaryColumnStatisticsData = (input: BinaryColumnStatisticsData, context: __SerdeContext): any => { return take(input, { - AverageLength: (_) => __serializeFloat(_), + AverageLength: __serializeFloat, MaximumLength: [], NumberOfNulls: [], }); @@ -15763,69 +15763,69 @@ const se_BinaryColumnStatisticsData = (input: BinaryColumnStatisticsData, contex */ const se_CodeGenConfigurationNode = (input: CodeGenConfigurationNode, context: __SerdeContext): any => { return take(input, { - Aggregate: (_) => _json(_), + Aggregate: _json, ApplyMapping: (_) => se_ApplyMapping(_, context), - AthenaConnectorSource: (_) => _json(_), - CatalogDeltaSource: (_) => _json(_), - CatalogHudiSource: (_) => _json(_), - CatalogKafkaSource: (_) => _json(_), - CatalogKinesisSource: (_) => _json(_), - CatalogSource: (_) => _json(_), - CatalogTarget: (_) => _json(_), - CustomCode: (_) => _json(_), - DirectJDBCSource: (_) => _json(_), - DirectKafkaSource: (_) => _json(_), - DirectKinesisSource: (_) => _json(_), - DropDuplicates: (_) => _json(_), - DropFields: (_) => _json(_), - DropNullFields: (_) => _json(_), - DynamicTransform: (_) => _json(_), - DynamoDBCatalogSource: (_) => _json(_), - EvaluateDataQuality: (_) => _json(_), - FillMissingValues: (_) => _json(_), - Filter: (_) => _json(_), - GovernedCatalogSource: (_) => _json(_), - GovernedCatalogTarget: (_) => _json(_), - JDBCConnectorSource: (_) => _json(_), - JDBCConnectorTarget: (_) => _json(_), - Join: (_) => _json(_), - Merge: (_) => _json(_), - MicrosoftSQLServerCatalogSource: (_) => _json(_), - MicrosoftSQLServerCatalogTarget: (_) => _json(_), - MySQLCatalogSource: (_) => _json(_), - MySQLCatalogTarget: (_) => _json(_), - OracleSQLCatalogSource: (_) => _json(_), - OracleSQLCatalogTarget: (_) => _json(_), + AthenaConnectorSource: _json, + CatalogDeltaSource: _json, + CatalogHudiSource: _json, + CatalogKafkaSource: _json, + CatalogKinesisSource: _json, + CatalogSource: _json, + CatalogTarget: _json, + CustomCode: _json, + DirectJDBCSource: _json, + DirectKafkaSource: _json, + DirectKinesisSource: _json, + DropDuplicates: _json, + DropFields: _json, + DropNullFields: _json, + DynamicTransform: _json, + DynamoDBCatalogSource: _json, + EvaluateDataQuality: _json, + FillMissingValues: _json, + Filter: _json, + GovernedCatalogSource: _json, + GovernedCatalogTarget: _json, + JDBCConnectorSource: _json, + JDBCConnectorTarget: _json, + Join: _json, + Merge: _json, + MicrosoftSQLServerCatalogSource: _json, + MicrosoftSQLServerCatalogTarget: _json, + MySQLCatalogSource: _json, + MySQLCatalogTarget: _json, + OracleSQLCatalogSource: _json, + OracleSQLCatalogTarget: _json, PIIDetection: (_) => se_PIIDetection(_, context), - PostgreSQLCatalogSource: (_) => _json(_), - PostgreSQLCatalogTarget: (_) => _json(_), - RedshiftSource: (_) => _json(_), - RedshiftTarget: (_) => _json(_), - RelationalCatalogSource: (_) => _json(_), - RenameField: (_) => _json(_), - S3CatalogDeltaSource: (_) => _json(_), - S3CatalogHudiSource: (_) => _json(_), - S3CatalogSource: (_) => _json(_), - S3CatalogTarget: (_) => _json(_), - S3CsvSource: (_) => _json(_), - S3DeltaCatalogTarget: (_) => _json(_), - S3DeltaDirectTarget: (_) => _json(_), - S3DeltaSource: (_) => _json(_), - S3DirectTarget: (_) => _json(_), - S3GlueParquetTarget: (_) => _json(_), - S3HudiCatalogTarget: (_) => _json(_), - S3HudiDirectTarget: (_) => _json(_), - S3HudiSource: (_) => _json(_), - S3JsonSource: (_) => _json(_), - S3ParquetSource: (_) => _json(_), - SelectFields: (_) => _json(_), - SelectFromCollection: (_) => _json(_), - SparkConnectorSource: (_) => _json(_), - SparkConnectorTarget: (_) => _json(_), - SparkSQL: (_) => _json(_), + PostgreSQLCatalogSource: _json, + PostgreSQLCatalogTarget: _json, + RedshiftSource: _json, + RedshiftTarget: _json, + RelationalCatalogSource: _json, + RenameField: _json, + S3CatalogDeltaSource: _json, + S3CatalogHudiSource: _json, + S3CatalogSource: _json, + S3CatalogTarget: _json, + S3CsvSource: _json, + S3DeltaCatalogTarget: _json, + S3DeltaDirectTarget: _json, + S3DeltaSource: _json, + S3DirectTarget: _json, + S3GlueParquetTarget: _json, + S3HudiCatalogTarget: _json, + S3HudiDirectTarget: _json, + S3HudiSource: _json, + S3JsonSource: _json, + S3ParquetSource: _json, + SelectFields: _json, + SelectFromCollection: _json, + SparkConnectorSource: _json, + SparkConnectorTarget: _json, + SparkSQL: _json, Spigot: (_) => se_Spigot(_, context), - SplitFields: (_) => _json(_), - Union: (_) => _json(_), + SplitFields: _json, + Union: _json, }); }; @@ -15875,11 +15875,11 @@ const se_ColumnStatistics = (input: ColumnStatistics, context: __SerdeContext): const se_ColumnStatisticsData = (input: ColumnStatisticsData, context: __SerdeContext): any => { return take(input, { BinaryColumnStatisticsData: (_) => se_BinaryColumnStatisticsData(_, context), - BooleanColumnStatisticsData: (_) => _json(_), + BooleanColumnStatisticsData: _json, DateColumnStatisticsData: (_) => se_DateColumnStatisticsData(_, context), DecimalColumnStatisticsData: (_) => se_DecimalColumnStatisticsData(_, context), DoubleColumnStatisticsData: (_) => se_DoubleColumnStatisticsData(_, context), - LongColumnStatisticsData: (_) => _json(_), + LongColumnStatisticsData: _json, StringColumnStatisticsData: (_) => se_StringColumnStatisticsData(_, context), Type: [], }); @@ -15908,12 +15908,12 @@ const se_ColumnStatisticsData = (input: ColumnStatisticsData, context: __SerdeCo */ const se_CrawlerTargets = (input: CrawlerTargets, context: __SerdeContext): any => { return take(input, { - CatalogTargets: (_) => _json(_), - DeltaTargets: (_) => _json(_), + CatalogTargets: _json, + DeltaTargets: _json, DynamoDBTargets: (_) => se_DynamoDBTargetList(_, context), - JdbcTargets: (_) => _json(_), - MongoDBTargets: (_) => _json(_), - S3Targets: (_) => _json(_), + JdbcTargets: _json, + MongoDBTargets: _json, + S3Targets: _json, }); }; @@ -15932,20 +15932,20 @@ const se_CrawlerTargets = (input: CrawlerTargets, context: __SerdeContext): any */ const se_CreateCrawlerRequest = (input: CreateCrawlerRequest, context: __SerdeContext): any => { return take(input, { - Classifiers: (_) => _json(_), + Classifiers: _json, Configuration: [], CrawlerSecurityConfiguration: [], DatabaseName: [], Description: [], - LakeFormationConfiguration: (_) => _json(_), - LineageConfiguration: (_) => _json(_), + LakeFormationConfiguration: _json, + LineageConfiguration: _json, Name: [], - RecrawlPolicy: (_) => _json(_), + RecrawlPolicy: _json, Role: [], Schedule: [], - SchemaChangePolicy: (_) => _json(_), + SchemaChangePolicy: _json, TablePrefix: [], - Tags: (_) => _json(_), + Tags: _json, Targets: (_) => se_CrawlerTargets(_, context), }); }; @@ -15969,24 +15969,24 @@ const se_CreateJobRequest = (input: CreateJobRequest, context: __SerdeContext): return take(input, { AllocatedCapacity: [], CodeGenConfigurationNodes: (_) => se_CodeGenConfigurationNodes(_, context), - Command: (_) => _json(_), - Connections: (_) => _json(_), - DefaultArguments: (_) => _json(_), + Command: _json, + Connections: _json, + DefaultArguments: _json, Description: [], ExecutionClass: [], - ExecutionProperty: (_) => _json(_), + ExecutionProperty: _json, GlueVersion: [], LogUri: [], - MaxCapacity: (_) => __serializeFloat(_), + MaxCapacity: __serializeFloat, MaxRetries: [], Name: [], - NonOverridableArguments: (_) => _json(_), - NotificationProperty: (_) => _json(_), + NonOverridableArguments: _json, + NotificationProperty: _json, NumberOfWorkers: [], Role: [], SecurityConfiguration: [], - SourceControlDetails: (_) => _json(_), - Tags: (_) => _json(_), + SourceControlDetails: _json, + Tags: _json, Timeout: [], WorkerType: [], }); @@ -16001,16 +16001,16 @@ const se_CreateMLTransformRequest = (input: CreateMLTransformRequest, context: _ return take(input, { Description: [], GlueVersion: [], - InputRecordTables: (_) => _json(_), - MaxCapacity: (_) => __serializeFloat(_), + InputRecordTables: _json, + MaxCapacity: __serializeFloat, MaxRetries: [], Name: [], NumberOfWorkers: [], Parameters: (_) => se_TransformParameters(_, context), Role: [], - Tags: (_) => _json(_), + Tags: _json, Timeout: [], - TransformEncryption: (_) => _json(_), + TransformEncryption: _json, WorkerType: [], }); }; @@ -16042,19 +16042,19 @@ const se_CreatePartitionRequest = (input: CreatePartitionRequest, context: __Ser */ const se_CreateSessionRequest = (input: CreateSessionRequest, context: __SerdeContext): any => { return take(input, { - Command: (_) => _json(_), - Connections: (_) => _json(_), - DefaultArguments: (_) => _json(_), + Command: _json, + Connections: _json, + DefaultArguments: _json, Description: [], GlueVersion: [], Id: [], IdleTimeout: [], - MaxCapacity: (_) => __serializeFloat(_), + MaxCapacity: __serializeFloat, NumberOfWorkers: [], RequestOrigin: [], Role: [], SecurityConfiguration: [], - Tags: (_) => _json(_), + Tags: _json, Timeout: [], WorkerType: [], }); @@ -16067,7 +16067,7 @@ const se_CreateTableRequest = (input: CreateTableRequest, context: __SerdeContex return take(input, { CatalogId: [], DatabaseName: [], - PartitionIndexes: (_) => _json(_), + PartitionIndexes: _json, TableInput: (_) => se_TableInput(_, context), TransactionId: [], }); @@ -16108,7 +16108,7 @@ const se_CreateTableRequest = (input: CreateTableRequest, context: __SerdeContex */ const se_DataQualityResultFilterCriteria = (input: DataQualityResultFilterCriteria, context: __SerdeContext): any => { return take(input, { - DataSource: (_) => _json(_), + DataSource: _json, JobName: [], JobRunId: [], StartedAfter: (_) => Math.round(_.getTime() / 1000), @@ -16126,7 +16126,7 @@ const se_DataQualityRuleRecommendationRunFilter = ( context: __SerdeContext ): any => { return take(input, { - DataSource: (_) => _json(_), + DataSource: _json, StartedAfter: (_) => Math.round(_.getTime() / 1000), StartedBefore: (_) => Math.round(_.getTime() / 1000), }); @@ -16140,7 +16140,7 @@ const se_DataQualityRulesetEvaluationRunFilter = ( context: __SerdeContext ): any => { return take(input, { - DataSource: (_) => _json(_), + DataSource: _json, StartedAfter: (_) => Math.round(_.getTime() / 1000), StartedBefore: (_) => Math.round(_.getTime() / 1000), }); @@ -16157,7 +16157,7 @@ const se_DataQualityRulesetFilterCriteria = (input: DataQualityRulesetFilterCrit LastModifiedAfter: (_) => Math.round(_.getTime() / 1000), LastModifiedBefore: (_) => Math.round(_.getTime() / 1000), Name: [], - TargetTable: (_) => _json(_), + TargetTable: _json, }); }; @@ -16197,7 +16197,7 @@ const se_DecimalColumnStatisticsData = (input: DecimalColumnStatisticsData, cont const se_DecimalNumber = (input: DecimalNumber, context: __SerdeContext): any => { return take(input, { Scale: [], - UnscaledValue: (_) => context.base64Encoder(_), + UnscaledValue: context.base64Encoder, }); }; @@ -16274,8 +16274,8 @@ const se_DecimalNumber = (input: DecimalNumber, context: __SerdeContext): any => */ const se_DoubleColumnStatisticsData = (input: DoubleColumnStatisticsData, context: __SerdeContext): any => { return take(input, { - MaximumValue: (_) => __serializeFloat(_), - MinimumValue: (_) => __serializeFloat(_), + MaximumValue: __serializeFloat, + MinimumValue: __serializeFloat, NumberOfDistinctValues: [], NumberOfNulls: [], }); @@ -16302,7 +16302,7 @@ const se_DynamoDBTarget = (input: DynamoDBTarget, context: __SerdeContext): any return take(input, { Path: [], scanAll: [], - scanRate: (_) => __serializeFloat(_), + scanRate: __serializeFloat, }); }; @@ -16352,9 +16352,9 @@ const se_DynamoDBTargetList = (input: DynamoDBTarget[], context: __SerdeContext) */ const se_FindMatchesParameters = (input: FindMatchesParameters, context: __SerdeContext): any => { return take(input, { - AccuracyCostTradeoff: (_) => __serializeFloat(_), + AccuracyCostTradeoff: __serializeFloat, EnforceProvidedLabels: [], - PrecisionRecallTradeoff: (_) => __serializeFloat(_), + PrecisionRecallTradeoff: __serializeFloat, PrimaryKeyColumnName: [], }); }; @@ -16435,7 +16435,7 @@ const se_GetMLTaskRunsRequest = (input: GetMLTaskRunsRequest, context: __SerdeCo Filter: (_) => se_TaskRunFilterCriteria(_, context), MaxResults: [], NextToken: [], - Sort: (_) => _json(_), + Sort: _json, TransformId: [], }); }; @@ -16450,7 +16450,7 @@ const se_GetMLTransformsRequest = (input: GetMLTransformsRequest, context: __Ser Filter: (_) => se_TransformFilterCriteria(_, context), MaxResults: [], NextToken: [], - Sort: (_) => _json(_), + Sort: _json, }); }; @@ -16470,7 +16470,7 @@ const se_GetPartitionsRequest = (input: GetPartitionsRequest, context: __SerdeCo MaxResults: [], NextToken: [], QueryAsOfTime: (_) => Math.round(_.getTime() / 1000), - Segment: (_) => _json(_), + Segment: _json, TableName: [], TransactionId: [], }); @@ -16603,22 +16603,22 @@ const se_JobUpdate = (input: JobUpdate, context: __SerdeContext): any => { return take(input, { AllocatedCapacity: [], CodeGenConfigurationNodes: (_) => se_CodeGenConfigurationNodes(_, context), - Command: (_) => _json(_), - Connections: (_) => _json(_), - DefaultArguments: (_) => _json(_), + Command: _json, + Connections: _json, + DefaultArguments: _json, Description: [], ExecutionClass: [], - ExecutionProperty: (_) => _json(_), + ExecutionProperty: _json, GlueVersion: [], LogUri: [], - MaxCapacity: (_) => __serializeFloat(_), + MaxCapacity: __serializeFloat, MaxRetries: [], - NonOverridableArguments: (_) => _json(_), - NotificationProperty: (_) => _json(_), + NonOverridableArguments: _json, + NotificationProperty: _json, NumberOfWorkers: [], Role: [], SecurityConfiguration: [], - SourceControlDetails: (_) => _json(_), + SourceControlDetails: _json, Timeout: [], WorkerType: [], }); @@ -16699,7 +16699,7 @@ const se_ListDataQualityRulesetsRequest = (input: ListDataQualityRulesetsRequest Filter: (_) => se_DataQualityRulesetFilterCriteria(_, context), MaxResults: [], NextToken: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -16715,8 +16715,8 @@ const se_ListMLTransformsRequest = (input: ListMLTransformsRequest, context: __S Filter: (_) => se_TransformFilterCriteria(_, context), MaxResults: [], NextToken: [], - Sort: (_) => _json(_), - Tags: (_) => _json(_), + Sort: _json, + Tags: _json, }); }; @@ -16751,7 +16751,7 @@ const se_Mapping = (input: Mapping, context: __SerdeContext): any => { return take(input, { Children: (_) => se_Mappings(_, context), Dropped: [], - FromPath: (_) => _json(_), + FromPath: _json, FromType: [], ToKey: [], ToType: [], @@ -16836,9 +16836,9 @@ const se_PartitionInput = (input: PartitionInput, context: __SerdeContext): any return take(input, { LastAccessTime: (_) => Math.round(_.getTime() / 1000), LastAnalyzedTime: (_) => Math.round(_.getTime() / 1000), - Parameters: (_) => _json(_), - StorageDescriptor: (_) => _json(_), - Values: (_) => _json(_), + Parameters: _json, + StorageDescriptor: _json, + Values: _json, }); }; @@ -16868,14 +16868,14 @@ const se_PartitionInputList = (input: PartitionInput[], context: __SerdeContext) */ const se_PIIDetection = (input: PIIDetection, context: __SerdeContext): any => { return take(input, { - EntityTypesToDetect: (_) => _json(_), - Inputs: (_) => _json(_), + EntityTypesToDetect: _json, + Inputs: _json, MaskValue: [], Name: [], OutputColumnName: [], PiiType: [], - SampleFraction: (_) => __serializeFloat(_), - ThresholdFraction: (_) => __serializeFloat(_), + SampleFraction: __serializeFloat, + ThresholdFraction: __serializeFloat, }); }; @@ -17018,10 +17018,10 @@ const se_PIIDetection = (input: PIIDetection, context: __SerdeContext): any => { */ const se_Spigot = (input: Spigot, context: __SerdeContext): any => { return take(input, { - Inputs: (_) => _json(_), + Inputs: _json, Name: [], Path: [], - Prob: (_) => __serializeFloat(_), + Prob: __serializeFloat, Topk: [], }); }; @@ -17052,12 +17052,12 @@ const se_Spigot = (input: Spigot, context: __SerdeContext): any => { const se_StartJobRunRequest = (input: StartJobRunRequest, context: __SerdeContext): any => { return take(input, { AllocatedCapacity: [], - Arguments: (_) => _json(_), + Arguments: _json, ExecutionClass: [], JobName: [], JobRunId: [], - MaxCapacity: (_) => __serializeFloat(_), - NotificationProperty: (_) => _json(_), + MaxCapacity: __serializeFloat, + NotificationProperty: _json, NumberOfWorkers: [], SecurityConfiguration: [], Timeout: [], @@ -17092,7 +17092,7 @@ const se_StartJobRunRequest = (input: StartJobRunRequest, context: __SerdeContex */ const se_StringColumnStatisticsData = (input: StringColumnStatisticsData, context: __SerdeContext): any => { return take(input, { - AverageLength: (_) => __serializeFloat(_), + AverageLength: __serializeFloat, MaximumLength: [], NumberOfDistinctValues: [], NumberOfNulls: [], @@ -17113,12 +17113,12 @@ const se_TableInput = (input: TableInput, context: __SerdeContext): any => { LastAnalyzedTime: (_) => Math.round(_.getTime() / 1000), Name: [], Owner: [], - Parameters: (_) => _json(_), - PartitionKeys: (_) => _json(_), + Parameters: _json, + PartitionKeys: _json, Retention: [], - StorageDescriptor: (_) => _json(_), + StorageDescriptor: _json, TableType: [], - TargetTable: (_) => _json(_), + TargetTable: _json, ViewExpandedText: [], ViewOriginalText: [], }); @@ -17161,7 +17161,7 @@ const se_TransformFilterCriteria = (input: TransformFilterCriteria, context: __S LastModifiedAfter: (_) => Math.round(_.getTime() / 1000), LastModifiedBefore: (_) => Math.round(_.getTime() / 1000), Name: [], - Schema: (_) => _json(_), + Schema: _json, Status: [], TransformType: [], }); @@ -17206,7 +17206,7 @@ const se_UpdateColumnStatisticsForPartitionRequest = ( CatalogId: [], ColumnStatisticsList: (_) => se_UpdateColumnStatisticsList(_, context), DatabaseName: [], - PartitionValues: (_) => _json(_), + PartitionValues: _json, TableName: [], }); }; @@ -17244,18 +17244,18 @@ const se_UpdateColumnStatisticsList = (input: ColumnStatistics[], context: __Ser */ const se_UpdateCrawlerRequest = (input: UpdateCrawlerRequest, context: __SerdeContext): any => { return take(input, { - Classifiers: (_) => _json(_), + Classifiers: _json, Configuration: [], CrawlerSecurityConfiguration: [], DatabaseName: [], Description: [], - LakeFormationConfiguration: (_) => _json(_), - LineageConfiguration: (_) => _json(_), + LakeFormationConfiguration: _json, + LineageConfiguration: _json, Name: [], - RecrawlPolicy: (_) => _json(_), + RecrawlPolicy: _json, Role: [], Schedule: [], - SchemaChangePolicy: (_) => _json(_), + SchemaChangePolicy: _json, TablePrefix: [], Targets: (_) => se_CrawlerTargets(_, context), }); @@ -17294,7 +17294,7 @@ const se_UpdateMLTransformRequest = (input: UpdateMLTransformRequest, context: _ return take(input, { Description: [], GlueVersion: [], - MaxCapacity: (_) => __serializeFloat(_), + MaxCapacity: __serializeFloat, MaxRetries: [], Name: [], NumberOfWorkers: [], @@ -17314,7 +17314,7 @@ const se_UpdatePartitionRequest = (input: UpdatePartitionRequest, context: __Ser CatalogId: [], DatabaseName: [], PartitionInput: (_) => se_PartitionInput(_, context), - PartitionValueList: (_) => _json(_), + PartitionValueList: _json, TableName: [], }); }; diff --git a/clients/client-greengrassv2/src/protocols/Aws_restJson1.ts b/clients/client-greengrassv2/src/protocols/Aws_restJson1.ts index ba29ee0a3736c..ecae644934e49 100644 --- a/clients/client-greengrassv2/src/protocols/Aws_restJson1.ts +++ b/clients/client-greengrassv2/src/protocols/Aws_restJson1.ts @@ -2931,7 +2931,7 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont const se_ComponentDeploymentSpecification = (input: ComponentDeploymentSpecification, context: __SerdeContext): any => { return take(input, { componentVersion: [], - configurationUpdate: (_) => _json(_), + configurationUpdate: _json, runWith: (_) => se_ComponentRunWith(_, context), }); }; @@ -3003,7 +3003,7 @@ const se_DeploymentIoTJobConfiguration = (input: DeploymentIoTJobConfiguration, return take(input, { abortConfig: (_) => se_IoTJobAbortConfig(_, context), jobExecutionsRolloutConfig: (_) => se_IoTJobExecutionsRolloutConfig(_, context), - timeoutConfig: (_) => _json(_), + timeoutConfig: _json, }); }; @@ -3030,7 +3030,7 @@ const se_IoTJobAbortCriteria = (input: IoTJobAbortCriteria, context: __SerdeCont action: [], failureType: [], minNumberOfExecutedThings: [], - thresholdPercentage: (_) => __serializeFloat(_), + thresholdPercentage: __serializeFloat, }); }; @@ -3061,8 +3061,8 @@ const se_IoTJobExecutionsRolloutConfig = (input: IoTJobExecutionsRolloutConfig, const se_IoTJobExponentialRolloutRate = (input: IoTJobExponentialRolloutRate, context: __SerdeContext): any => { return take(input, { baseRatePerMinute: [], - incrementFactor: (_) => __serializeFloat(_), - rateIncreaseCriteria: (_) => _json(_), + incrementFactor: __serializeFloat, + rateIncreaseCriteria: _json, }); }; @@ -3101,7 +3101,7 @@ const se_IoTJobExponentialRolloutRate = (input: IoTJobExponentialRolloutRate, co */ const se_SystemResourceLimits = (input: SystemResourceLimits, context: __SerdeContext): any => { return take(input, { - cpus: (_) => __serializeFloat(_), + cpus: __serializeFloat, memory: [], }); }; diff --git a/clients/client-groundstation/src/protocols/Aws_restJson1.ts b/clients/client-groundstation/src/protocols/Aws_restJson1.ts index 712c07f6ccdf4..7d1e5b03f2b6e 100644 --- a/clients/client-groundstation/src/protocols/Aws_restJson1.ts +++ b/clients/client-groundstation/src/protocols/Aws_restJson1.ts @@ -3029,8 +3029,8 @@ const se_AntennaDownlinkConfig = (input: AntennaDownlinkConfig, context: __Serde */ const se_AntennaDownlinkDemodDecodeConfig = (input: AntennaDownlinkDemodDecodeConfig, context: __SerdeContext): any => { return take(input, { - decodeConfig: (_) => _json(_), - demodulationConfig: (_) => _json(_), + decodeConfig: _json, + demodulationConfig: _json, spectrumConfig: (_) => se_SpectrumConfig(_, context), }); }; @@ -3100,7 +3100,7 @@ const se_ConfigTypeData = (input: ConfigTypeData, context: __SerdeContext): any const se_Eirp = (input: Eirp, context: __SerdeContext): any => { return take(input, { units: [], - value: (_) => __serializeFloat(_), + value: __serializeFloat, }); }; @@ -3127,7 +3127,7 @@ const se_EphemerisData = (input: EphemerisData, context: __SerdeContext): any => const se_Frequency = (input: Frequency, context: __SerdeContext): any => { return take(input, { units: [], - value: (_) => __serializeFloat(_), + value: __serializeFloat, }); }; @@ -3137,7 +3137,7 @@ const se_Frequency = (input: Frequency, context: __SerdeContext): any => { const se_FrequencyBandwidth = (input: FrequencyBandwidth, context: __SerdeContext): any => { return take(input, { units: [], - value: (_) => __serializeFloat(_), + value: __serializeFloat, }); }; @@ -3219,7 +3219,7 @@ const se_TLEDataList = (input: TLEData[], context: __SerdeContext): any => { */ const se_TLEEphemeris = (input: TLEEphemeris, context: __SerdeContext): any => { return take(input, { - s3Object: (_) => _json(_), + s3Object: _json, tleData: (_) => se_TLEDataList(_, context), }); }; diff --git a/clients/client-guardduty/src/protocols/Aws_restJson1.ts b/clients/client-guardduty/src/protocols/Aws_restJson1.ts index 51b950a9636d7..301f8322f933e 100644 --- a/clients/client-guardduty/src/protocols/Aws_restJson1.ts +++ b/clients/client-guardduty/src/protocols/Aws_restJson1.ts @@ -5788,8 +5788,8 @@ const se_AccountDetails = (input: AccountDetail[], context: __SerdeContext): any */ const se_Condition = (input: Condition, context: __SerdeContext): any => { return take(input, { - eq: [, (_) => _json(_), `Eq`], - equals: [, (_) => _json(_), `Equals`], + eq: [, _json, `Eq`], + equals: [, _json, `Equals`], greaterThan: [, , `GreaterThan`], greaterThanOrEqual: [, , `GreaterThanOrEqual`], gt: [, , `Gt`], @@ -5798,8 +5798,8 @@ const se_Condition = (input: Condition, context: __SerdeContext): any => { lessThanOrEqual: [, , `LessThanOrEqual`], lt: [, , `Lt`], lte: [, , `Lte`], - neq: [, (_) => _json(_), `Neq`], - notEquals: [, (_) => _json(_), `NotEquals`], + neq: [, _json, `Neq`], + notEquals: [, _json, `NotEquals`], }); }; @@ -5808,8 +5808,8 @@ const se_Condition = (input: Condition, context: __SerdeContext): any => { */ const se_CoverageFilterCondition = (input: CoverageFilterCondition, context: __SerdeContext): any => { return take(input, { - equals: [, (_) => _json(_), `Equals`], - notEquals: [, (_) => _json(_), `NotEquals`], + equals: [, _json, `Equals`], + notEquals: [, _json, `NotEquals`], }); }; @@ -6297,10 +6297,10 @@ const se_SortCriteria = (input: SortCriteria, context: __SerdeContext): any => { */ const se_UsageCriteria = (input: UsageCriteria, context: __SerdeContext): any => { return take(input, { - accountIds: [, (_) => _json(_), `AccountIds`], - dataSources: [, (_) => _json(_), `DataSources`], - features: [, (_) => _json(_), `Features`], - resources: [, (_) => _json(_), `Resources`], + accountIds: [, _json, `AccountIds`], + dataSources: [, _json, `DataSources`], + features: [, _json, `Features`], + resources: [, _json, `Resources`], }); }; diff --git a/clients/client-health/src/protocols/Aws_json1_1.ts b/clients/client-health/src/protocols/Aws_json1_1.ts index 0b4e10fb18aeb..df363ff7c70f8 100644 --- a/clients/client-health/src/protocols/Aws_json1_1.ts +++ b/clients/client-health/src/protocols/Aws_json1_1.ts @@ -1001,12 +1001,12 @@ const se_DescribeEventsRequest = (input: DescribeEventsRequest, context: __Serde */ const se_EntityFilter = (input: EntityFilter, context: __SerdeContext): any => { return take(input, { - entityArns: (_) => _json(_), - entityValues: (_) => _json(_), - eventArns: (_) => _json(_), + entityArns: _json, + entityValues: _json, + eventArns: _json, lastUpdatedTimes: (_) => se_dateTimeRangeList(_, context), - statusCodes: (_) => _json(_), - tags: (_) => _json(_), + statusCodes: _json, + tags: _json, }); }; @@ -1025,19 +1025,19 @@ const se_EntityFilter = (input: EntityFilter, context: __SerdeContext): any => { */ const se_EventFilter = (input: EventFilter, context: __SerdeContext): any => { return take(input, { - availabilityZones: (_) => _json(_), + availabilityZones: _json, endTimes: (_) => se_dateTimeRangeList(_, context), - entityArns: (_) => _json(_), - entityValues: (_) => _json(_), - eventArns: (_) => _json(_), - eventStatusCodes: (_) => _json(_), - eventTypeCategories: (_) => _json(_), - eventTypeCodes: (_) => _json(_), + entityArns: _json, + entityValues: _json, + eventArns: _json, + eventStatusCodes: _json, + eventTypeCategories: _json, + eventTypeCodes: _json, lastUpdatedTimes: (_) => se_dateTimeRangeList(_, context), - regions: (_) => _json(_), - services: (_) => _json(_), + regions: _json, + services: _json, startTimes: (_) => se_dateTimeRangeList(_, context), - tags: (_) => _json(_), + tags: _json, }); }; @@ -1062,16 +1062,16 @@ const se_EventFilter = (input: EventFilter, context: __SerdeContext): any => { */ const se_OrganizationEventFilter = (input: OrganizationEventFilter, context: __SerdeContext): any => { return take(input, { - awsAccountIds: (_) => _json(_), + awsAccountIds: _json, endTime: (_) => se_DateTimeRange(_, context), - entityArns: (_) => _json(_), - entityValues: (_) => _json(_), - eventStatusCodes: (_) => _json(_), - eventTypeCategories: (_) => _json(_), - eventTypeCodes: (_) => _json(_), + entityArns: _json, + entityValues: _json, + eventStatusCodes: _json, + eventTypeCategories: _json, + eventTypeCodes: _json, lastUpdatedTime: (_) => se_DateTimeRange(_, context), - regions: (_) => _json(_), - services: (_) => _json(_), + regions: _json, + services: _json, startTime: (_) => se_DateTimeRange(_, context), }); }; diff --git a/clients/client-healthlake/src/protocols/Aws_json1_0.ts b/clients/client-healthlake/src/protocols/Aws_json1_0.ts index 1d102fb23ba07..dd75a8b8911a8 100644 --- a/clients/client-healthlake/src/protocols/Aws_json1_0.ts +++ b/clients/client-healthlake/src/protocols/Aws_json1_0.ts @@ -1066,9 +1066,9 @@ const se_CreateFHIRDatastoreRequest = (input: CreateFHIRDatastoreRequest, contex ClientToken: (_) => _ ?? generateIdempotencyToken(), DatastoreName: [], DatastoreTypeVersion: [], - PreloadDataConfig: (_) => _json(_), - SseConfiguration: (_) => _json(_), - Tags: (_) => _json(_), + PreloadDataConfig: _json, + SseConfiguration: _json, + Tags: _json, }); }; @@ -1156,7 +1156,7 @@ const se_StartFHIRExportJobRequest = (input: StartFHIRExportJobRequest, context: DataAccessRoleArn: [], DatastoreId: [], JobName: [], - OutputDataConfig: (_) => _json(_), + OutputDataConfig: _json, }); }; @@ -1168,9 +1168,9 @@ const se_StartFHIRImportJobRequest = (input: StartFHIRImportJobRequest, context: ClientToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], DatastoreId: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, JobName: [], - JobOutputDataConfig: (_) => _json(_), + JobOutputDataConfig: _json, }); }; diff --git a/clients/client-inspector/src/protocols/Aws_json1_1.ts b/clients/client-inspector/src/protocols/Aws_json1_1.ts index d1450c8aeeb5f..8ade98f30d5c8 100644 --- a/clients/client-inspector/src/protocols/Aws_json1_1.ts +++ b/clients/client-inspector/src/protocols/Aws_json1_1.ts @@ -2931,12 +2931,12 @@ const de_UnsupportedFeatureExceptionRes = async ( const se_AssessmentRunFilter = (input: AssessmentRunFilter, context: __SerdeContext): any => { return take(input, { completionTimeRange: (_) => se_TimestampRange(_, context), - durationRange: (_) => _json(_), + durationRange: _json, namePattern: [], - rulesPackageArns: (_) => _json(_), + rulesPackageArns: _json, startTimeRange: (_) => se_TimestampRange(_, context), stateChangeTimeRange: (_) => se_TimestampRange(_, context), - states: (_) => _json(_), + states: _json, }); }; @@ -2995,14 +2995,14 @@ const se_AssessmentRunFilter = (input: AssessmentRunFilter, context: __SerdeCont */ const se_FindingFilter = (input: FindingFilter, context: __SerdeContext): any => { return take(input, { - agentIds: (_) => _json(_), - attributes: (_) => _json(_), - autoScalingGroups: (_) => _json(_), + agentIds: _json, + attributes: _json, + autoScalingGroups: _json, creationTimeRange: (_) => se_TimestampRange(_, context), - ruleNames: (_) => _json(_), - rulesPackageArns: (_) => _json(_), - severities: (_) => _json(_), - userAttributes: (_) => _json(_), + ruleNames: _json, + rulesPackageArns: _json, + severities: _json, + userAttributes: _json, }); }; @@ -3019,7 +3019,7 @@ const se_FindingFilter = (input: FindingFilter, context: __SerdeContext): any => */ const se_ListAssessmentRunsRequest = (input: ListAssessmentRunsRequest, context: __SerdeContext): any => { return take(input, { - assessmentTemplateArns: (_) => _json(_), + assessmentTemplateArns: _json, filter: (_) => se_AssessmentRunFilter(_, context), maxResults: [], nextToken: [], @@ -3039,7 +3039,7 @@ const se_ListAssessmentRunsRequest = (input: ListAssessmentRunsRequest, context: */ const se_ListFindingsRequest = (input: ListFindingsRequest, context: __SerdeContext): any => { return take(input, { - assessmentRunArns: (_) => _json(_), + assessmentRunArns: _json, filter: (_) => se_FindingFilter(_, context), maxResults: [], nextToken: [], diff --git a/clients/client-inspector2/src/protocols/Aws_restJson1.ts b/clients/client-inspector2/src/protocols/Aws_restJson1.ts index bd40f518d2a95..8bce0121df11d 100644 --- a/clients/client-inspector2/src/protocols/Aws_restJson1.ts +++ b/clients/client-inspector2/src/protocols/Aws_restJson1.ts @@ -3181,43 +3181,43 @@ const se_DateFilterList = (input: DateFilter[], context: __SerdeContext): any => */ const se_FilterCriteria = (input: FilterCriteria, context: __SerdeContext): any => { return take(input, { - awsAccountId: (_) => _json(_), - componentId: (_) => _json(_), - componentType: (_) => _json(_), - ec2InstanceImageId: (_) => _json(_), - ec2InstanceSubnetId: (_) => _json(_), - ec2InstanceVpcId: (_) => _json(_), - ecrImageArchitecture: (_) => _json(_), - ecrImageHash: (_) => _json(_), + awsAccountId: _json, + componentId: _json, + componentType: _json, + ec2InstanceImageId: _json, + ec2InstanceSubnetId: _json, + ec2InstanceVpcId: _json, + ecrImageArchitecture: _json, + ecrImageHash: _json, ecrImagePushedAt: (_) => se_DateFilterList(_, context), - ecrImageRegistry: (_) => _json(_), - ecrImageRepositoryName: (_) => _json(_), - ecrImageTags: (_) => _json(_), - exploitAvailable: (_) => _json(_), - findingArn: (_) => _json(_), - findingStatus: (_) => _json(_), - findingType: (_) => _json(_), + ecrImageRegistry: _json, + ecrImageRepositoryName: _json, + ecrImageTags: _json, + exploitAvailable: _json, + findingArn: _json, + findingStatus: _json, + findingType: _json, firstObservedAt: (_) => se_DateFilterList(_, context), - fixAvailable: (_) => _json(_), + fixAvailable: _json, inspectorScore: (_) => se_NumberFilterList(_, context), - lambdaFunctionExecutionRoleArn: (_) => _json(_), + lambdaFunctionExecutionRoleArn: _json, lambdaFunctionLastModifiedAt: (_) => se_DateFilterList(_, context), - lambdaFunctionLayers: (_) => _json(_), - lambdaFunctionName: (_) => _json(_), - lambdaFunctionRuntime: (_) => _json(_), + lambdaFunctionLayers: _json, + lambdaFunctionName: _json, + lambdaFunctionRuntime: _json, lastObservedAt: (_) => se_DateFilterList(_, context), - networkProtocol: (_) => _json(_), - portRange: (_) => _json(_), - relatedVulnerabilities: (_) => _json(_), - resourceId: (_) => _json(_), - resourceTags: (_) => _json(_), - resourceType: (_) => _json(_), - severity: (_) => _json(_), - title: (_) => _json(_), + networkProtocol: _json, + portRange: _json, + relatedVulnerabilities: _json, + resourceId: _json, + resourceTags: _json, + resourceType: _json, + severity: _json, + title: _json, updatedAt: (_) => se_DateFilterList(_, context), - vendorSeverity: (_) => _json(_), - vulnerabilityId: (_) => _json(_), - vulnerabilitySource: (_) => _json(_), + vendorSeverity: _json, + vulnerabilityId: _json, + vulnerabilitySource: _json, vulnerablePackages: (_) => se_PackageFilterList(_, context), }); }; @@ -3241,8 +3241,8 @@ const se_FilterCriteria = (input: FilterCriteria, context: __SerdeContext): any */ const se_NumberFilter = (input: NumberFilter, context: __SerdeContext): any => { return take(input, { - lowerInclusive: (_) => __serializeFloat(_), - upperInclusive: (_) => __serializeFloat(_), + lowerInclusive: __serializeFloat, + upperInclusive: __serializeFloat, }); }; @@ -3264,13 +3264,13 @@ const se_NumberFilterList = (input: NumberFilter[], context: __SerdeContext): an */ const se_PackageFilter = (input: PackageFilter, context: __SerdeContext): any => { return take(input, { - architecture: (_) => _json(_), + architecture: _json, epoch: (_) => se_NumberFilter(_, context), - name: (_) => _json(_), - release: (_) => _json(_), - sourceLambdaLayerArn: (_) => _json(_), - sourceLayerHash: (_) => _json(_), - version: (_) => _json(_), + name: _json, + release: _json, + sourceLambdaLayerArn: _json, + sourceLayerHash: _json, + version: _json, }); }; diff --git a/clients/client-iot-events-data/src/protocols/Aws_restJson1.ts b/clients/client-iot-events-data/src/protocols/Aws_restJson1.ts index 4c281d59c24c8..8c962db305e77 100644 --- a/clients/client-iot-events-data/src/protocols/Aws_restJson1.ts +++ b/clients/client-iot-events-data/src/protocols/Aws_restJson1.ts @@ -1252,8 +1252,8 @@ const se_Message = (input: Message, context: __SerdeContext): any => { return take(input, { inputName: [], messageId: [], - payload: (_) => context.base64Encoder(_), - timestamp: (_) => _json(_), + payload: context.base64Encoder, + timestamp: _json, }); }; diff --git a/clients/client-iot-events/src/protocols/Aws_restJson1.ts b/clients/client-iot-events/src/protocols/Aws_restJson1.ts index a9f6053f0c5ec..1cf949ae801ec 100644 --- a/clients/client-iot-events/src/protocols/Aws_restJson1.ts +++ b/clients/client-iot-events/src/protocols/Aws_restJson1.ts @@ -2752,7 +2752,7 @@ const de_UnsupportedOperationExceptionRes = async ( const se_DetectorModelDefinition = (input: DetectorModelDefinition, context: __SerdeContext): any => { return take(input, { initialStateName: [], - states: (_) => _json(_), + states: _json, }); }; diff --git a/clients/client-iot-roborunner/src/protocols/Aws_restJson1.ts b/clients/client-iot-roborunner/src/protocols/Aws_restJson1.ts index 9419f99369298..e5955838c8c73 100644 --- a/clients/client-iot-roborunner/src/protocols/Aws_restJson1.ts +++ b/clients/client-iot-roborunner/src/protocols/Aws_restJson1.ts @@ -2060,9 +2060,9 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont */ const se_CartesianCoordinates = (input: CartesianCoordinates, context: __SerdeContext): any => { return take(input, { - x: (_) => __serializeFloat(_), - y: (_) => __serializeFloat(_), - z: (_) => __serializeFloat(_), + x: __serializeFloat, + y: __serializeFloat, + z: __serializeFloat, }); }; diff --git a/clients/client-iot-wireless/src/protocols/Aws_restJson1.ts b/clients/client-iot-wireless/src/protocols/Aws_restJson1.ts index 4c0b86cce8e08..2dd3a982f5c06 100644 --- a/clients/client-iot-wireless/src/protocols/Aws_restJson1.ts +++ b/clients/client-iot-wireless/src/protocols/Aws_restJson1.ts @@ -10354,11 +10354,11 @@ const se_CdmaList = (input: CdmaObj[], context: __SerdeContext): any => { */ const se_CdmaObj = (input: CdmaObj, context: __SerdeContext): any => { return take(input, { - BaseLat: (_) => __serializeFloat(_), - BaseLng: (_) => __serializeFloat(_), + BaseLat: __serializeFloat, + BaseLng: __serializeFloat, BaseStationId: [], - CdmaLocalId: (_) => _json(_), - CdmaNmr: (_) => _json(_), + CdmaLocalId: _json, + CdmaNmr: _json, NetworkId: [], PilotPower: [], RegistrationZone: [], @@ -10372,10 +10372,10 @@ const se_CdmaObj = (input: CdmaObj, context: __SerdeContext): any => { const se_CellTowers = (input: CellTowers, context: __SerdeContext): any => { return take(input, { Cdma: (_) => se_CdmaList(_, context), - Gsm: (_) => _json(_), + Gsm: _json, Lte: (_) => se_LteList(_, context), - Tdscdma: (_) => _json(_), - Wcdma: (_) => _json(_), + Tdscdma: _json, + Wcdma: _json, }); }; @@ -10402,10 +10402,10 @@ const se_CellTowers = (input: CellTowers, context: __SerdeContext): any => { */ const se_Gnss = (input: Gnss, context: __SerdeContext): any => { return take(input, { - AssistAltitude: (_) => __serializeFloat(_), + AssistAltitude: __serializeFloat, AssistPosition: (_) => se_AssistPosition(_, context), - CaptureTime: (_) => __serializeFloat(_), - CaptureTimeAccuracy: (_) => __serializeFloat(_), + CaptureTime: __serializeFloat, + CaptureTimeAccuracy: __serializeFloat, Payload: [], Use2DSolver: [], }); @@ -10515,7 +10515,7 @@ const se_LteNmrObj = (input: LteNmrObj, context: __SerdeContext): any => { EutranCid: [], Pci: [], Rsrp: [], - Rsrq: (_) => __serializeFloat(_), + Rsrq: __serializeFloat, }); }; @@ -10525,14 +10525,14 @@ const se_LteNmrObj = (input: LteNmrObj, context: __SerdeContext): any => { const se_LteObj = (input: LteObj, context: __SerdeContext): any => { return take(input, { EutranCid: [], - LteLocalId: (_) => _json(_), + LteLocalId: _json, LteNmr: (_) => se_LteNmrList(_, context), LteTimingAdvance: [], Mcc: [], Mnc: [], NrCapable: [], Rsrp: [], - Rsrq: (_) => __serializeFloat(_), + Rsrq: __serializeFloat, Tac: [], }); }; diff --git a/clients/client-iot/src/protocols/Aws_restJson1.ts b/clients/client-iot/src/protocols/Aws_restJson1.ts index 80497bf875c20..91e6bbc54ef91 100644 --- a/clients/client-iot/src/protocols/Aws_restJson1.ts +++ b/clients/client-iot/src/protocols/Aws_restJson1.ts @@ -23135,7 +23135,7 @@ const se_AbortCriteria = (input: AbortCriteria, context: __SerdeContext): any => action: [], failureType: [], minNumberOfExecutedThings: [], - thresholdPercentage: (_) => __serializeFloat(_), + thresholdPercentage: __serializeFloat, }); }; @@ -23221,7 +23221,7 @@ const se_AwsJobAbortCriteria = (input: AwsJobAbortCriteria, context: __SerdeCont action: [], failureType: [], minNumberOfExecutedThings: [], - thresholdPercentage: (_) => __serializeFloat(_), + thresholdPercentage: __serializeFloat, }); }; @@ -23252,8 +23252,8 @@ const se_AwsJobExecutionsRolloutConfig = (input: AwsJobExecutionsRolloutConfig, const se_AwsJobExponentialRolloutRate = (input: AwsJobExponentialRolloutRate, context: __SerdeContext): any => { return take(input, { baseRatePerMinute: [], - incrementFactor: (_) => __serializeFloat(_), - rateIncreaseCriteria: (_) => _json(_), + incrementFactor: __serializeFloat, + rateIncreaseCriteria: _json, }); }; @@ -23270,7 +23270,7 @@ const se_Behavior = (input: Behavior, context: __SerdeContext): any => { return take(input, { criteria: (_) => se_BehaviorCriteria(_, context), metric: [], - metricDimension: (_) => _json(_), + metricDimension: _json, name: [], suppressAlerts: [], }); @@ -23285,8 +23285,8 @@ const se_BehaviorCriteria = (input: BehaviorCriteria, context: __SerdeContext): consecutiveDatapointsToAlarm: [], consecutiveDatapointsToClear: [], durationSeconds: [], - mlDetectionConfig: (_) => _json(_), - statisticalThreshold: (_) => _json(_), + mlDetectionConfig: _json, + statisticalThreshold: _json, value: (_) => se_MetricValue(_, context), }); }; @@ -23323,7 +23323,7 @@ const se_CodeSigning = (input: CodeSigning, context: __SerdeContext): any => { return take(input, { awsSignerJobId: [], customCodeSigning: (_) => se_CustomCodeSigning(_, context), - startSigningJobParameter: (_) => _json(_), + startSigningJobParameter: _json, }); }; @@ -23334,7 +23334,7 @@ const se_CodeSigning = (input: CodeSigning, context: __SerdeContext): any => { */ const se_CodeSigningSignature = (input: CodeSigningSignature, context: __SerdeContext): any => { return take(input, { - inlineDocument: (_) => context.base64Encoder(_), + inlineDocument: context.base64Encoder, }); }; @@ -23345,7 +23345,7 @@ const se_CodeSigningSignature = (input: CodeSigningSignature, context: __SerdeCo */ const se_CustomCodeSigning = (input: CustomCodeSigning, context: __SerdeContext): any => { return take(input, { - certificateChain: (_) => _json(_), + certificateChain: _json, hashAlgorithm: [], signature: (_) => se_CodeSigningSignature(_, context), signatureAlgorithm: [], @@ -23378,8 +23378,8 @@ const se_CustomCodeSigning = (input: CustomCodeSigning, context: __SerdeContext) const se_ExponentialRolloutRate = (input: ExponentialRolloutRate, context: __SerdeContext): any => { return take(input, { baseRatePerMinute: [], - incrementFactor: (_) => __serializeFloat(_), - rateIncreaseCriteria: (_) => _json(_), + incrementFactor: __serializeFloat, + rateIncreaseCriteria: _json, }); }; @@ -23460,12 +23460,12 @@ const se_JobExecutionsRolloutConfig = (input: JobExecutionsRolloutConfig, contex */ const se_MetricValue = (input: MetricValue, context: __SerdeContext): any => { return take(input, { - cidrs: (_) => _json(_), + cidrs: _json, count: [], - number: (_) => __serializeFloat(_), + number: __serializeFloat, numbers: (_) => se_NumberList(_, context), - ports: (_) => _json(_), - strings: (_) => _json(_), + ports: _json, + strings: _json, }); }; @@ -23479,7 +23479,7 @@ const se_MetricValue = (input: MetricValue, context: __SerdeContext): any => { const se_MqttContext = (input: MqttContext, context: __SerdeContext): any => { return take(input, { clientId: [], - password: (_) => context.base64Encoder(_), + password: context.base64Encoder, username: [], }); }; @@ -23506,9 +23506,9 @@ const se_NumberList = (input: number[], context: __SerdeContext): any => { */ const se_OTAUpdateFile = (input: OTAUpdateFile, context: __SerdeContext): any => { return take(input, { - attributes: (_) => _json(_), + attributes: _json, codeSigning: (_) => se_CodeSigning(_, context), - fileLocation: (_) => _json(_), + fileLocation: _json, fileName: [], fileType: [], fileVersion: [], diff --git a/clients/client-iotanalytics/src/protocols/Aws_restJson1.ts b/clients/client-iotanalytics/src/protocols/Aws_restJson1.ts index 195e34ad7ed26..e8c441927556e 100644 --- a/clients/client-iotanalytics/src/protocols/Aws_restJson1.ts +++ b/clients/client-iotanalytics/src/protocols/Aws_restJson1.ts @@ -3352,7 +3352,7 @@ const se_ContainerDatasetAction = (input: ContainerDatasetAction, context: __Ser return take(input, { executionRoleArn: [], image: [], - resourceConfiguration: (_) => _json(_), + resourceConfiguration: _json, variables: (_) => se_Variables(_, context), }); }; @@ -3368,7 +3368,7 @@ const se_DatasetAction = (input: DatasetAction, context: __SerdeContext): any => return take(input, { actionName: [], containerAction: (_) => se_ContainerDatasetAction(_, context), - queryAction: (_) => _json(_), + queryAction: _json, }); }; @@ -3443,7 +3443,7 @@ const se_DatasetActions = (input: DatasetAction[], context: __SerdeContext): any const se_Message = (input: Message, context: __SerdeContext): any => { return take(input, { messageId: [], - payload: (_) => context.base64Encoder(_), + payload: context.base64Encoder, }); }; @@ -3520,10 +3520,10 @@ const se_Messages = (input: Message[], context: __SerdeContext): any => { */ const se_Variable = (input: Variable, context: __SerdeContext): any => { return take(input, { - datasetContentVersionValue: (_) => _json(_), - doubleValue: (_) => __serializeFloat(_), + datasetContentVersionValue: _json, + doubleValue: __serializeFloat, name: [], - outputFileUriValue: (_) => _json(_), + outputFileUriValue: _json, stringValue: [], }); }; diff --git a/clients/client-iotfleetwise/src/protocols/Aws_json1_0.ts b/clients/client-iotfleetwise/src/protocols/Aws_json1_0.ts index 809c82a0114d4..83aba646af32c 100644 --- a/clients/client-iotfleetwise/src/protocols/Aws_json1_0.ts +++ b/clients/client-iotfleetwise/src/protocols/Aws_json1_0.ts @@ -4037,13 +4037,13 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont */ const se_Actuator = (input: Actuator, context: __SerdeContext): any => { return take(input, { - allowedValues: (_) => _json(_), + allowedValues: _json, assignedValue: [], dataType: [], description: [], fullyQualifiedName: [], - max: (_) => __serializeFloat(_), - min: (_) => __serializeFloat(_), + max: __serializeFloat, + min: __serializeFloat, unit: [], }); }; @@ -4055,14 +4055,14 @@ const se_Actuator = (input: Actuator, context: __SerdeContext): any => { */ const se_Attribute = (input: Attribute, context: __SerdeContext): any => { return take(input, { - allowedValues: (_) => _json(_), + allowedValues: _json, assignedValue: [], dataType: [], defaultValue: [], description: [], fullyQualifiedName: [], - max: (_) => __serializeFloat(_), - min: (_) => __serializeFloat(_), + max: __serializeFloat, + min: __serializeFloat, unit: [], }); }; @@ -4082,7 +4082,7 @@ const se_CanDbcDefinition = (input: CanDbcDefinition, context: __SerdeContext): return take(input, { canDbcFiles: (_) => se_NetworkFilesList(_, context), networkInterface: [], - signalsMap: (_) => _json(_), + signalsMap: _json, }); }; @@ -4093,13 +4093,13 @@ const se_CanDbcDefinition = (input: CanDbcDefinition, context: __SerdeContext): */ const se_CanSignal = (input: CanSignal, context: __SerdeContext): any => { return take(input, { - factor: (_) => __serializeFloat(_), + factor: __serializeFloat, isBigEndian: [], isSigned: [], length: [], messageId: [], name: [], - offset: (_) => __serializeFloat(_), + offset: __serializeFloat, startBit: [], }); }; @@ -4115,9 +4115,9 @@ const se_CanSignal = (input: CanSignal, context: __SerdeContext): any => { */ const se_CreateCampaignRequest = (input: CreateCampaignRequest, context: __SerdeContext): any => { return take(input, { - collectionScheme: (_) => _json(_), + collectionScheme: _json, compression: [], - dataExtraDimensions: (_) => _json(_), + dataExtraDimensions: _json, description: [], diagnosticsMode: [], expiryTime: (_) => Math.round(_.getTime() / 1000), @@ -4125,10 +4125,10 @@ const se_CreateCampaignRequest = (input: CreateCampaignRequest, context: __Serde postTriggerCollectionDuration: [], priority: [], signalCatalogArn: [], - signalsToCollect: (_) => _json(_), + signalsToCollect: _json, spoolingMode: [], startTime: (_) => Math.round(_.getTime() / 1000), - tags: (_) => _json(_), + tags: _json, targetArn: [], }); }; @@ -4141,9 +4141,9 @@ const se_CreateDecoderManifestRequest = (input: CreateDecoderManifestRequest, co description: [], modelManifestArn: [], name: [], - networkInterfaces: (_) => _json(_), + networkInterfaces: _json, signalDecoders: (_) => se_SignalDecoders(_, context), - tags: (_) => _json(_), + tags: _json, }); }; @@ -4159,7 +4159,7 @@ const se_CreateSignalCatalogRequest = (input: CreateSignalCatalogRequest, contex description: [], name: [], nodes: (_) => se_Nodes(_, context), - tags: (_) => _json(_), + tags: _json, }); }; @@ -4325,10 +4325,10 @@ const se_ObdSignal = (input: ObdSignal, context: __SerdeContext): any => { bitMaskLength: [], bitRightShift: [], byteLength: [], - offset: (_) => __serializeFloat(_), + offset: __serializeFloat, pid: [], pidResponseLength: [], - scaling: (_) => __serializeFloat(_), + scaling: __serializeFloat, serviceMode: [], startByte: [], }); @@ -4343,12 +4343,12 @@ const se_ObdSignal = (input: ObdSignal, context: __SerdeContext): any => { */ const se_Sensor = (input: Sensor, context: __SerdeContext): any => { return take(input, { - allowedValues: (_) => _json(_), + allowedValues: _json, dataType: [], description: [], fullyQualifiedName: [], - max: (_) => __serializeFloat(_), - min: (_) => __serializeFloat(_), + max: __serializeFloat, + min: __serializeFloat, unit: [], }); }; @@ -4404,11 +4404,11 @@ const se_UpdateDecoderManifestRequest = (input: UpdateDecoderManifestRequest, co return take(input, { description: [], name: [], - networkInterfacesToAdd: (_) => _json(_), - networkInterfacesToRemove: (_) => _json(_), - networkInterfacesToUpdate: (_) => _json(_), + networkInterfacesToAdd: _json, + networkInterfacesToRemove: _json, + networkInterfacesToUpdate: _json, signalDecodersToAdd: (_) => se_SignalDecoders(_, context), - signalDecodersToRemove: (_) => _json(_), + signalDecodersToRemove: _json, signalDecodersToUpdate: (_) => se_SignalDecoders(_, context), status: [], }); @@ -4426,7 +4426,7 @@ const se_UpdateSignalCatalogRequest = (input: UpdateSignalCatalogRequest, contex description: [], name: [], nodesToAdd: (_) => se_Nodes(_, context), - nodesToRemove: (_) => _json(_), + nodesToRemove: _json, nodesToUpdate: (_) => se_Nodes(_, context), }); }; diff --git a/clients/client-iotsitewise/src/protocols/Aws_restJson1.ts b/clients/client-iotsitewise/src/protocols/Aws_restJson1.ts index 7fdc9e2f7c218..cd4faca2ccac4 100644 --- a/clients/client-iotsitewise/src/protocols/Aws_restJson1.ts +++ b/clients/client-iotsitewise/src/protocols/Aws_restJson1.ts @@ -7614,7 +7614,7 @@ const de_UnauthorizedExceptionRes = async ( const se_AssetPropertyValue = (input: AssetPropertyValue, context: __SerdeContext): any => { return take(input, { quality: [], - timestamp: (_) => _json(_), + timestamp: _json, value: (_) => se_Variant(_, context), }); }; @@ -7654,13 +7654,13 @@ const se_BatchGetAssetPropertyAggregatesEntry = ( context: __SerdeContext ): any => { return take(input, { - aggregateTypes: (_) => _json(_), + aggregateTypes: _json, assetId: [], endDate: (_) => Math.round(_.getTime() / 1000), entryId: [], propertyAlias: [], propertyId: [], - qualities: (_) => _json(_), + qualities: _json, resolution: [], startDate: (_) => Math.round(_.getTime() / 1000), timeOrdering: [], @@ -7698,7 +7698,7 @@ const se_BatchGetAssetPropertyValueHistoryEntry = ( entryId: [], propertyAlias: [], propertyId: [], - qualities: (_) => _json(_), + qualities: _json, startDate: (_) => Math.round(_.getTime() / 1000), timeOrdering: [], }); @@ -7755,7 +7755,7 @@ const se_Image = (input: Image, context: __SerdeContext): any => { */ const se_ImageFile = (input: ImageFile, context: __SerdeContext): any => { return take(input, { - data: (_) => context.base64Encoder(_), + data: context.base64Encoder, type: [], }); }; @@ -7832,7 +7832,7 @@ const se_PutAssetPropertyValueEntry = (input: PutAssetPropertyValueEntry, contex const se_Variant = (input: Variant, context: __SerdeContext): any => { return take(input, { booleanValue: [], - doubleValue: (_) => __serializeFloat(_), + doubleValue: __serializeFloat, integerValue: [], stringValue: [], }); diff --git a/clients/client-iottwinmaker/src/protocols/Aws_restJson1.ts b/clients/client-iottwinmaker/src/protocols/Aws_restJson1.ts index f341b0efec40f..8ade9241de964 100644 --- a/clients/client-iottwinmaker/src/protocols/Aws_restJson1.ts +++ b/clients/client-iottwinmaker/src/protocols/Aws_restJson1.ts @@ -3768,7 +3768,7 @@ const se_ComponentRequest = (input: ComponentRequest, context: __SerdeContext): componentTypeId: [], description: [], properties: (_) => se_PropertyRequests(_, context), - propertyGroups: (_) => _json(_), + propertyGroups: _json, }); }; @@ -3792,7 +3792,7 @@ const se_ComponentUpdateRequest = (input: ComponentUpdateRequest, context: __Ser return take(input, { componentTypeId: [], description: [], - propertyGroupUpdates: (_) => _json(_), + propertyGroupUpdates: _json, propertyUpdates: (_) => se_PropertyRequests(_, context), updateType: [], }); @@ -3822,7 +3822,7 @@ const se_DataType = (input: DataType, context: __SerdeContext): any => { return take(input, { allowedValues: (_) => se_DataValueList(_, context), nestedType: (_) => se_DataType(_, context), - relationship: (_) => _json(_), + relationship: _json, type: [], unitOfMeasure: [], }); @@ -3834,13 +3834,13 @@ const se_DataType = (input: DataType, context: __SerdeContext): any => { const se_DataValue = (input: DataValue, context: __SerdeContext): any => { return take(input, { booleanValue: [], - doubleValue: (_) => __serializeFloat(_), + doubleValue: __serializeFloat, expression: [], integerValue: [], listValue: (_) => se_DataValueList(_, context), longValue: [], mapValue: (_) => se_DataValueMap(_, context), - relationshipValue: (_) => _json(_), + relationshipValue: _json, stringValue: [], }); }; @@ -3915,7 +3915,7 @@ const se_Entries = (input: PropertyValueEntry[], context: __SerdeContext): any = */ const se_PropertyDefinitionRequest = (input: PropertyDefinitionRequest, context: __SerdeContext): any => { return take(input, { - configuration: (_) => _json(_), + configuration: _json, dataType: (_) => se_DataType(_, context), defaultValue: (_) => se_DataValue(_, context), displayName: [], @@ -4010,7 +4010,7 @@ const se_PropertyValue = (input: PropertyValue, context: __SerdeContext): any => */ const se_PropertyValueEntry = (input: PropertyValueEntry, context: __SerdeContext): any => { return take(input, { - entityPropertyReference: (_) => _json(_), + entityPropertyReference: _json, propertyValues: (_) => se_PropertyValues(_, context), }); }; @@ -4047,7 +4047,7 @@ const se_PropertyValues = (input: PropertyValue[], context: __SerdeContext): any */ const se_TabularConditions = (input: TabularConditions, context: __SerdeContext): any => { return take(input, { - orderBy: (_) => _json(_), + orderBy: _json, propertyFilters: (_) => se_PropertyFilters(_, context), }); }; diff --git a/clients/client-kafka/src/protocols/Aws_restJson1.ts b/clients/client-kafka/src/protocols/Aws_restJson1.ts index 01899a9d36847..377ab6b4fcdea 100644 --- a/clients/client-kafka/src/protocols/Aws_restJson1.ts +++ b/clients/client-kafka/src/protocols/Aws_restJson1.ts @@ -3662,10 +3662,10 @@ const se_BrokerLogs = (input: BrokerLogs, context: __SerdeContext): any => { const se_BrokerNodeGroupInfo = (input: BrokerNodeGroupInfo, context: __SerdeContext): any => { return take(input, { brokerAZDistribution: [, , `BrokerAZDistribution`], - clientSubnets: [, (_) => _json(_), `ClientSubnets`], + clientSubnets: [, _json, `ClientSubnets`], connectivityInfo: [, (_) => se_ConnectivityInfo(_, context), `ConnectivityInfo`], instanceType: [, , `InstanceType`], - securityGroups: [, (_) => _json(_), `SecurityGroups`], + securityGroups: [, _json, `SecurityGroups`], storageInfo: [, (_) => se_StorageInfo(_, context), `StorageInfo`], }); }; @@ -3923,7 +3923,7 @@ const se_StorageInfo = (input: StorageInfo, context: __SerdeContext): any => { */ const se_Tls = (input: Tls, context: __SerdeContext): any => { return take(input, { - certificateAuthorityArnList: [, (_) => _json(_), `CertificateAuthorityArnList`], + certificateAuthorityArnList: [, _json, `CertificateAuthorityArnList`], enabled: [, , `Enabled`], }); }; @@ -3942,8 +3942,8 @@ const se_Unauthenticated = (input: Unauthenticated, context: __SerdeContext): an */ const se_VpcConfig = (input: VpcConfig, context: __SerdeContext): any => { return take(input, { - securityGroupIds: [, (_) => _json(_), `SecurityGroupIds`], - subnetIds: [, (_) => _json(_), `SubnetIds`], + securityGroupIds: [, _json, `SecurityGroupIds`], + subnetIds: [, _json, `SubnetIds`], }); }; diff --git a/clients/client-kendra-ranking/src/protocols/Aws_json1_0.ts b/clients/client-kendra-ranking/src/protocols/Aws_json1_0.ts index c124edce3e082..8a531ce9cf342 100644 --- a/clients/client-kendra-ranking/src/protocols/Aws_json1_0.ts +++ b/clients/client-kendra-ranking/src/protocols/Aws_json1_0.ts @@ -852,11 +852,11 @@ const se_CreateRescoreExecutionPlanRequest = ( context: __SerdeContext ): any => { return take(input, { - CapacityUnits: (_) => _json(_), + CapacityUnits: _json, ClientToken: (_) => _ ?? generateIdempotencyToken(), Description: [], Name: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -872,10 +872,10 @@ const se_Document = (input: Document, context: __SerdeContext): any => { Body: [], GroupId: [], Id: [], - OriginalScore: (_) => __serializeFloat(_), + OriginalScore: __serializeFloat, Title: [], - TokenizedBody: (_) => _json(_), - TokenizedTitle: (_) => _json(_), + TokenizedBody: _json, + TokenizedTitle: _json, }); }; diff --git a/clients/client-kendra/src/protocols/Aws_json1_1.ts b/clients/client-kendra/src/protocols/Aws_json1_1.ts index 3da52e9e55b68..18f91d9e3fdd5 100644 --- a/clients/client-kendra/src/protocols/Aws_json1_1.ts +++ b/clients/client-kendra/src/protocols/Aws_json1_1.ts @@ -5443,10 +5443,10 @@ const se_CreateAccessControlConfigurationRequest = ( context: __SerdeContext ): any => { return take(input, { - AccessControlList: (_) => _json(_), + AccessControlList: _json, ClientToken: (_) => _ ?? generateIdempotencyToken(), Description: [], - HierarchicalAccessControlList: (_) => _json(_), + HierarchicalAccessControlList: _json, IndexId: [], Name: [], }); @@ -5466,9 +5466,9 @@ const se_CreateDataSourceRequest = (input: CreateDataSourceRequest, context: __S Name: [], RoleArn: [], Schedule: [], - Tags: (_) => _json(_), + Tags: _json, Type: [], - VpcConfiguration: (_) => _json(_), + VpcConfiguration: _json, }); }; @@ -5478,7 +5478,7 @@ const se_CreateDataSourceRequest = (input: CreateDataSourceRequest, context: __S const se_CreateExperienceRequest = (input: CreateExperienceRequest, context: __SerdeContext): any => { return take(input, { ClientToken: (_) => _ ?? generateIdempotencyToken(), - Configuration: (_) => _json(_), + Configuration: _json, Description: [], IndexId: [], Name: [], @@ -5498,8 +5498,8 @@ const se_CreateFaqRequest = (input: CreateFaqRequest, context: __SerdeContext): LanguageCode: [], Name: [], RoleArn: [], - S3Path: (_) => _json(_), - Tags: (_) => _json(_), + S3Path: _json, + Tags: _json, }); }; @@ -5515,11 +5515,11 @@ const se_CreateIndexRequest = (input: CreateIndexRequest, context: __SerdeContex Edition: [], Name: [], RoleArn: [], - ServerSideEncryptionConfiguration: (_) => _json(_), - Tags: (_) => _json(_), + ServerSideEncryptionConfiguration: _json, + Tags: _json, UserContextPolicy: [], - UserGroupResolutionConfiguration: (_) => _json(_), - UserTokenConfigurations: (_) => _json(_), + UserGroupResolutionConfiguration: _json, + UserTokenConfigurations: _json, }); }; @@ -5536,8 +5536,8 @@ const se_CreateQuerySuggestionsBlockListRequest = ( IndexId: [], Name: [], RoleArn: [], - SourceS3Path: (_) => _json(_), - Tags: (_) => _json(_), + SourceS3Path: _json, + Tags: _json, }); }; @@ -5551,8 +5551,8 @@ const se_CreateThesaurusRequest = (input: CreateThesaurusRequest, context: __Ser IndexId: [], Name: [], RoleArn: [], - SourceS3Path: (_) => _json(_), - Tags: (_) => _json(_), + SourceS3Path: _json, + Tags: _json, }); }; @@ -5578,24 +5578,24 @@ const se_CustomDocumentEnrichmentConfiguration = ( */ const se_DataSourceConfiguration = (input: DataSourceConfiguration, context: __SerdeContext): any => { return take(input, { - AlfrescoConfiguration: (_) => _json(_), - BoxConfiguration: (_) => _json(_), - ConfluenceConfiguration: (_) => _json(_), - DatabaseConfiguration: (_) => _json(_), - FsxConfiguration: (_) => _json(_), - GitHubConfiguration: (_) => _json(_), - GoogleDriveConfiguration: (_) => _json(_), - JiraConfiguration: (_) => _json(_), - OneDriveConfiguration: (_) => _json(_), - QuipConfiguration: (_) => _json(_), - S3Configuration: (_) => _json(_), - SalesforceConfiguration: (_) => _json(_), - ServiceNowConfiguration: (_) => _json(_), - SharePointConfiguration: (_) => _json(_), - SlackConfiguration: (_) => _json(_), + AlfrescoConfiguration: _json, + BoxConfiguration: _json, + ConfluenceConfiguration: _json, + DatabaseConfiguration: _json, + FsxConfiguration: _json, + GitHubConfiguration: _json, + GoogleDriveConfiguration: _json, + JiraConfiguration: _json, + OneDriveConfiguration: _json, + QuipConfiguration: _json, + S3Configuration: _json, + SalesforceConfiguration: _json, + ServiceNowConfiguration: _json, + SharePointConfiguration: _json, + SlackConfiguration: _json, TemplateConfiguration: (_) => se_TemplateConfiguration(_, context), WebCrawlerConfiguration: (_) => se_WebCrawlerConfiguration(_, context), - WorkDocsConfiguration: (_) => _json(_), + WorkDocsConfiguration: _json, }); }; @@ -5663,13 +5663,13 @@ const se_DataSourceConfiguration = (input: DataSourceConfiguration, context: __S const se_Document = (input: Document, context: __SerdeContext): any => { return take(input, { AccessControlConfigurationId: [], - AccessControlList: (_) => _json(_), + AccessControlList: _json, Attributes: (_) => se_DocumentAttributeList(_, context), - Blob: (_) => context.base64Encoder(_), + Blob: context.base64Encoder, ContentType: [], - HierarchicalAccessControlList: (_) => _json(_), + HierarchicalAccessControlList: _json, Id: [], - S3Path: (_) => _json(_), + S3Path: _json, Title: [], }); }; @@ -5728,7 +5728,7 @@ const se_DocumentAttributeValue = (input: DocumentAttributeValue, context: __Ser return take(input, { DateValue: (_) => Math.round(_.getTime() / 1000), LongValue: [], - StringListValue: (_) => _json(_), + StringListValue: _json, StringValue: [], }); }; @@ -5972,17 +5972,17 @@ const se_ListDataSourceSyncJobsRequest = (input: ListDataSourceSyncJobsRequest, const se_QueryRequest = (input: QueryRequest, context: __SerdeContext): any => { return take(input, { AttributeFilter: (_) => se_AttributeFilter(_, context), - DocumentRelevanceOverrideConfigurations: (_) => _json(_), + DocumentRelevanceOverrideConfigurations: _json, Facets: (_) => se_FacetList(_, context), IndexId: [], PageNumber: [], PageSize: [], QueryResultTypeFilter: [], QueryText: [], - RequestedDocumentAttributes: (_) => _json(_), - SortingConfiguration: (_) => _json(_), - SpellCorrectionConfiguration: (_) => _json(_), - UserContext: (_) => _json(_), + RequestedDocumentAttributes: _json, + SortingConfiguration: _json, + SpellCorrectionConfiguration: _json, + UserContext: _json, VisitorId: [], }); }; @@ -6075,7 +6075,7 @@ const se_SubmitFeedbackRequest = (input: SubmitFeedbackRequest, context: __Serde ClickFeedbackItems: (_) => se_ClickFeedbackList(_, context), IndexId: [], QueryId: [], - RelevanceFeedbackItems: (_) => _json(_), + RelevanceFeedbackItems: _json, }); }; @@ -6133,7 +6133,7 @@ const se_UpdateDataSourceRequest = (input: UpdateDataSourceRequest, context: __S Name: [], RoleArn: [], Schedule: [], - VpcConfiguration: (_) => _json(_), + VpcConfiguration: _json, }); }; @@ -6168,15 +6168,15 @@ const se_UpdateDataSourceRequest = (input: UpdateDataSourceRequest, context: __S */ const se_WebCrawlerConfiguration = (input: WebCrawlerConfiguration, context: __SerdeContext): any => { return take(input, { - AuthenticationConfiguration: (_) => _json(_), + AuthenticationConfiguration: _json, CrawlDepth: [], - MaxContentSizePerPageInMegaBytes: (_) => __serializeFloat(_), + MaxContentSizePerPageInMegaBytes: __serializeFloat, MaxLinksPerPage: [], MaxUrlsPerMinuteCrawlRate: [], - ProxyConfiguration: (_) => _json(_), - UrlExclusionPatterns: (_) => _json(_), - UrlInclusionPatterns: (_) => _json(_), - Urls: (_) => _json(_), + ProxyConfiguration: _json, + UrlExclusionPatterns: _json, + UrlInclusionPatterns: _json, + Urls: _json, }); }; diff --git a/clients/client-keyspaces/src/protocols/Aws_json1_0.ts b/clients/client-keyspaces/src/protocols/Aws_json1_0.ts index 13a34e8bfd241..9205a13dca67e 100644 --- a/clients/client-keyspaces/src/protocols/Aws_json1_0.ts +++ b/clients/client-keyspaces/src/protocols/Aws_json1_0.ts @@ -1149,13 +1149,13 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont */ const se_RestoreTableRequest = (input: RestoreTableRequest, context: __SerdeContext): any => { return take(input, { - capacitySpecificationOverride: (_) => _json(_), - encryptionSpecificationOverride: (_) => _json(_), - pointInTimeRecoveryOverride: (_) => _json(_), + capacitySpecificationOverride: _json, + encryptionSpecificationOverride: _json, + pointInTimeRecoveryOverride: _json, restoreTimestamp: (_) => Math.round(_.getTime() / 1000), sourceKeyspaceName: [], sourceTableName: [], - tagsOverride: (_) => _json(_), + tagsOverride: _json, targetKeyspaceName: [], targetTableName: [], }); diff --git a/clients/client-kinesis-analytics-v2/src/protocols/Aws_json1_1.ts b/clients/client-kinesis-analytics-v2/src/protocols/Aws_json1_1.ts index 1a61f2b3e3457..800ea9be35c53 100644 --- a/clients/client-kinesis-analytics-v2/src/protocols/Aws_json1_1.ts +++ b/clients/client-kinesis-analytics-v2/src/protocols/Aws_json1_1.ts @@ -2698,12 +2698,12 @@ const se_ApplicationCodeConfigurationUpdate = ( const se_ApplicationConfiguration = (input: ApplicationConfiguration, context: __SerdeContext): any => { return take(input, { ApplicationCodeConfiguration: (_) => se_ApplicationCodeConfiguration(_, context), - ApplicationSnapshotConfiguration: (_) => _json(_), - EnvironmentProperties: (_) => _json(_), - FlinkApplicationConfiguration: (_) => _json(_), - SqlApplicationConfiguration: (_) => _json(_), - VpcConfigurations: (_) => _json(_), - ZeppelinApplicationConfiguration: (_) => _json(_), + ApplicationSnapshotConfiguration: _json, + EnvironmentProperties: _json, + FlinkApplicationConfiguration: _json, + SqlApplicationConfiguration: _json, + VpcConfigurations: _json, + ZeppelinApplicationConfiguration: _json, }); }; @@ -2713,12 +2713,12 @@ const se_ApplicationConfiguration = (input: ApplicationConfiguration, context: _ const se_ApplicationConfigurationUpdate = (input: ApplicationConfigurationUpdate, context: __SerdeContext): any => { return take(input, { ApplicationCodeConfigurationUpdate: (_) => se_ApplicationCodeConfigurationUpdate(_, context), - ApplicationSnapshotConfigurationUpdate: (_) => _json(_), - EnvironmentPropertyUpdates: (_) => _json(_), - FlinkApplicationConfigurationUpdate: (_) => _json(_), - SqlApplicationConfigurationUpdate: (_) => _json(_), - VpcConfigurationUpdates: (_) => _json(_), - ZeppelinApplicationConfigurationUpdate: (_) => _json(_), + ApplicationSnapshotConfigurationUpdate: _json, + EnvironmentPropertyUpdates: _json, + FlinkApplicationConfigurationUpdate: _json, + SqlApplicationConfigurationUpdate: _json, + VpcConfigurationUpdates: _json, + ZeppelinApplicationConfigurationUpdate: _json, }); }; @@ -2751,9 +2751,9 @@ const se_ApplicationConfigurationUpdate = (input: ApplicationConfigurationUpdate */ const se_CodeContent = (input: CodeContent, context: __SerdeContext): any => { return take(input, { - S3ContentLocation: (_) => _json(_), + S3ContentLocation: _json, TextContent: [], - ZipFileContent: (_) => context.base64Encoder(_), + ZipFileContent: context.base64Encoder, }); }; @@ -2762,9 +2762,9 @@ const se_CodeContent = (input: CodeContent, context: __SerdeContext): any => { */ const se_CodeContentUpdate = (input: CodeContentUpdate, context: __SerdeContext): any => { return take(input, { - S3ContentLocationUpdate: (_) => _json(_), + S3ContentLocationUpdate: _json, TextContentUpdate: [], - ZipFileContentUpdate: (_) => context.base64Encoder(_), + ZipFileContentUpdate: context.base64Encoder, }); }; @@ -2779,10 +2779,10 @@ const se_CreateApplicationRequest = (input: CreateApplicationRequest, context: _ ApplicationDescription: [], ApplicationMode: [], ApplicationName: [], - CloudWatchLoggingOptions: (_) => _json(_), + CloudWatchLoggingOptions: _json, RuntimeEnvironment: [], ServiceExecutionRole: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -3004,10 +3004,10 @@ const se_UpdateApplicationRequest = (input: UpdateApplicationRequest, context: _ return take(input, { ApplicationConfigurationUpdate: (_) => se_ApplicationConfigurationUpdate(_, context), ApplicationName: [], - CloudWatchLoggingOptionUpdates: (_) => _json(_), + CloudWatchLoggingOptionUpdates: _json, ConditionalToken: [], CurrentApplicationVersionId: [], - RunConfigurationUpdate: (_) => _json(_), + RunConfigurationUpdate: _json, ServiceExecutionRoleUpdate: [], }); }; diff --git a/clients/client-kinesis/src/protocols/Aws_json1_1.ts b/clients/client-kinesis/src/protocols/Aws_json1_1.ts index a2c91847aecd8..871f6fdd5828d 100644 --- a/clients/client-kinesis/src/protocols/Aws_json1_1.ts +++ b/clients/client-kinesis/src/protocols/Aws_json1_1.ts @@ -2681,7 +2681,7 @@ const se_ListStreamConsumersInput = (input: ListStreamConsumersInput, context: _ */ const se_PutRecordInput = (input: PutRecordInput, context: __SerdeContext): any => { return take(input, { - Data: (_) => context.base64Encoder(_), + Data: context.base64Encoder, ExplicitHashKey: [], PartitionKey: [], SequenceNumberForOrdering: [], @@ -2706,7 +2706,7 @@ const se_PutRecordsInput = (input: PutRecordsInput, context: __SerdeContext): an */ const se_PutRecordsRequestEntry = (input: PutRecordsRequestEntry, context: __SerdeContext): any => { return take(input, { - Data: (_) => context.base64Encoder(_), + Data: context.base64Encoder, ExplicitHashKey: [], PartitionKey: [], }); diff --git a/clients/client-kms/src/protocols/Aws_json1_1.ts b/clients/client-kms/src/protocols/Aws_json1_1.ts index cf362bea11ecf..7144eed840412 100644 --- a/clients/client-kms/src/protocols/Aws_json1_1.ts +++ b/clients/client-kms/src/protocols/Aws_json1_1.ts @@ -4772,10 +4772,10 @@ const de_XksProxyVpcEndpointServiceNotFoundExceptionRes = async ( */ const se_DecryptRequest = (input: DecryptRequest, context: __SerdeContext): any => { return take(input, { - CiphertextBlob: (_) => context.base64Encoder(_), + CiphertextBlob: context.base64Encoder, EncryptionAlgorithm: [], - EncryptionContext: (_) => _json(_), - GrantTokens: (_) => _json(_), + EncryptionContext: _json, + GrantTokens: _json, KeyId: [], }); }; @@ -4808,10 +4808,10 @@ const se_DecryptRequest = (input: DecryptRequest, context: __SerdeContext): any const se_EncryptRequest = (input: EncryptRequest, context: __SerdeContext): any => { return take(input, { EncryptionAlgorithm: [], - EncryptionContext: (_) => _json(_), - GrantTokens: (_) => _json(_), + EncryptionContext: _json, + GrantTokens: _json, KeyId: [], - Plaintext: (_) => context.base64Encoder(_), + Plaintext: context.base64Encoder, }); }; @@ -4828,10 +4828,10 @@ const se_EncryptRequest = (input: EncryptRequest, context: __SerdeContext): any */ const se_GenerateMacRequest = (input: GenerateMacRequest, context: __SerdeContext): any => { return take(input, { - GrantTokens: (_) => _json(_), + GrantTokens: _json, KeyId: [], MacAlgorithm: [], - Message: (_) => context.base64Encoder(_), + Message: context.base64Encoder, }); }; @@ -4856,9 +4856,9 @@ const se_GenerateMacRequest = (input: GenerateMacRequest, context: __SerdeContex */ const se_ImportKeyMaterialRequest = (input: ImportKeyMaterialRequest, context: __SerdeContext): any => { return take(input, { - EncryptedKeyMaterial: (_) => context.base64Encoder(_), + EncryptedKeyMaterial: context.base64Encoder, ExpirationModel: [], - ImportToken: (_) => context.base64Encoder(_), + ImportToken: context.base64Encoder, KeyId: [], ValidTo: (_) => Math.round(_.getTime() / 1000), }); @@ -4883,13 +4883,13 @@ const se_ImportKeyMaterialRequest = (input: ImportKeyMaterialRequest, context: _ */ const se_ReEncryptRequest = (input: ReEncryptRequest, context: __SerdeContext): any => { return take(input, { - CiphertextBlob: (_) => context.base64Encoder(_), + CiphertextBlob: context.base64Encoder, DestinationEncryptionAlgorithm: [], - DestinationEncryptionContext: (_) => _json(_), + DestinationEncryptionContext: _json, DestinationKeyId: [], - GrantTokens: (_) => _json(_), + GrantTokens: _json, SourceEncryptionAlgorithm: [], - SourceEncryptionContext: (_) => _json(_), + SourceEncryptionContext: _json, SourceKeyId: [], }); }; @@ -4907,9 +4907,9 @@ const se_ReEncryptRequest = (input: ReEncryptRequest, context: __SerdeContext): */ const se_SignRequest = (input: SignRequest, context: __SerdeContext): any => { return take(input, { - GrantTokens: (_) => _json(_), + GrantTokens: _json, KeyId: [], - Message: (_) => context.base64Encoder(_), + Message: context.base64Encoder, MessageType: [], SigningAlgorithm: [], }); @@ -4938,11 +4938,11 @@ const se_SignRequest = (input: SignRequest, context: __SerdeContext): any => { */ const se_VerifyMacRequest = (input: VerifyMacRequest, context: __SerdeContext): any => { return take(input, { - GrantTokens: (_) => _json(_), + GrantTokens: _json, KeyId: [], - Mac: (_) => context.base64Encoder(_), + Mac: context.base64Encoder, MacAlgorithm: [], - Message: (_) => context.base64Encoder(_), + Message: context.base64Encoder, }); }; @@ -4951,11 +4951,11 @@ const se_VerifyMacRequest = (input: VerifyMacRequest, context: __SerdeContext): */ const se_VerifyRequest = (input: VerifyRequest, context: __SerdeContext): any => { return take(input, { - GrantTokens: (_) => _json(_), + GrantTokens: _json, KeyId: [], - Message: (_) => context.base64Encoder(_), + Message: context.base64Encoder, MessageType: [], - Signature: (_) => context.base64Encoder(_), + Signature: context.base64Encoder, SigningAlgorithm: [], }); }; diff --git a/clients/client-lakeformation/src/protocols/Aws_restJson1.ts b/clients/client-lakeformation/src/protocols/Aws_restJson1.ts index ff68500029e29..94a1e9a662b1d 100644 --- a/clients/client-lakeformation/src/protocols/Aws_restJson1.ts +++ b/clients/client-lakeformation/src/protocols/Aws_restJson1.ts @@ -4842,7 +4842,7 @@ const se_QueryPlanningContext = (input: QueryPlanningContext, context: __SerdeCo CatalogId: [], DatabaseName: [], QueryAsOfTime: (_) => Math.round(_.getTime() / 1000), - QueryParameters: (_) => _json(_), + QueryParameters: _json, TransactionId: [], }); }; diff --git a/clients/client-lambda/src/protocols/Aws_restJson1.ts b/clients/client-lambda/src/protocols/Aws_restJson1.ts index 7b4b34ae664dc..fbac7915b518c 100644 --- a/clients/client-lambda/src/protocols/Aws_restJson1.ts +++ b/clients/client-lambda/src/protocols/Aws_restJson1.ts @@ -7901,7 +7901,7 @@ const se_FunctionCode = (input: FunctionCode, context: __SerdeContext): any => { S3Bucket: [], S3Key: [], S3ObjectVersion: [], - ZipFile: (_) => context.base64Encoder(_), + ZipFile: context.base64Encoder, }); }; @@ -7921,7 +7921,7 @@ const se_LayerVersionContentInput = (input: LayerVersionContentInput, context: _ S3Bucket: [], S3Key: [], S3ObjectVersion: [], - ZipFile: (_) => context.base64Encoder(_), + ZipFile: context.base64Encoder, }); }; diff --git a/clients/client-lex-models-v2/src/protocols/Aws_restJson1.ts b/clients/client-lex-models-v2/src/protocols/Aws_restJson1.ts index 5013bee8d6808..e40cbe01d26f4 100644 --- a/clients/client-lex-models-v2/src/protocols/Aws_restJson1.ts +++ b/clients/client-lex-models-v2/src/protocols/Aws_restJson1.ts @@ -7396,8 +7396,8 @@ const se_BotLocaleImportSpecification = (input: BotLocaleImportSpecification, co botId: [], botVersion: [], localeId: [], - nluIntentConfidenceThreshold: (_) => __serializeFloat(_), - voiceSettings: (_) => _json(_), + nluIntentConfidenceThreshold: __serializeFloat, + voiceSettings: _json, }); }; @@ -7436,10 +7436,10 @@ const se_BotLocaleImportSpecification = (input: BotLocaleImportSpecification, co */ const se_ConditionalBranch = (input: ConditionalBranch, context: __SerdeContext): any => { return take(input, { - condition: (_) => _json(_), + condition: _json, name: [], nextStep: (_) => se_DialogState(_, context), - response: (_) => _json(_), + response: _json, }); }; @@ -7501,7 +7501,7 @@ const se_DateRangeFilter = (input: DateRangeFilter, context: __SerdeContext): an const se_DefaultConditionalBranch = (input: DefaultConditionalBranch, context: __SerdeContext): any => { return take(input, { nextStep: (_) => se_DialogState(_, context), - response: (_) => _json(_), + response: _json, }); }; @@ -7528,9 +7528,9 @@ const se_DialogCodeHookInvocationSetting = (input: DialogCodeHookInvocationSetti */ const se_DialogState = (input: DialogState, context: __SerdeContext): any => { return take(input, { - dialogAction: (_) => _json(_), + dialogAction: _json, intent: (_) => se_IntentOverride(_, context), - sessionAttributes: (_) => _json(_), + sessionAttributes: _json, }); }; @@ -7559,7 +7559,7 @@ const se_FulfillmentCodeHookSettings = (input: FulfillmentCodeHookSettings, cont return take(input, { active: [], enabled: [], - fulfillmentUpdatesSpecification: (_) => _json(_), + fulfillmentUpdatesSpecification: _json, postFulfillmentStatusSpecification: (_) => se_PostFulfillmentStatusSpecification(_, context), }); }; @@ -7585,9 +7585,9 @@ const se_FulfillmentCodeHookSettings = (input: FulfillmentCodeHookSettings, cont */ const se_ImportResourceSpecification = (input: ImportResourceSpecification, context: __SerdeContext): any => { return take(input, { - botImportSpecification: (_) => _json(_), + botImportSpecification: _json, botLocaleImportSpecification: (_) => se_BotLocaleImportSpecification(_, context), - customVocabularyImportSpecification: (_) => _json(_), + customVocabularyImportSpecification: _json, }); }; @@ -7600,7 +7600,7 @@ const se_InitialResponseSetting = (input: InitialResponseSetting, context: __Ser return take(input, { codeHook: (_) => se_DialogCodeHookInvocationSetting(_, context), conditional: (_) => se_ConditionalSpecification(_, context), - initialResponse: (_) => _json(_), + initialResponse: _json, nextStep: (_) => se_DialogState(_, context), }); }; @@ -7615,7 +7615,7 @@ const se_InitialResponseSetting = (input: InitialResponseSetting, context: __Ser const se_IntentClosingSetting = (input: IntentClosingSetting, context: __SerdeContext): any => { return take(input, { active: [], - closingResponse: (_) => _json(_), + closingResponse: _json, conditional: (_) => se_ConditionalSpecification(_, context), nextStep: (_) => se_DialogState(_, context), }); @@ -7630,15 +7630,15 @@ const se_IntentConfirmationSetting = (input: IntentConfirmationSetting, context: codeHook: (_) => se_DialogCodeHookInvocationSetting(_, context), confirmationConditional: (_) => se_ConditionalSpecification(_, context), confirmationNextStep: (_) => se_DialogState(_, context), - confirmationResponse: (_) => _json(_), + confirmationResponse: _json, declinationConditional: (_) => se_ConditionalSpecification(_, context), declinationNextStep: (_) => se_DialogState(_, context), - declinationResponse: (_) => _json(_), - elicitationCodeHook: (_) => _json(_), + declinationResponse: _json, + elicitationCodeHook: _json, failureConditional: (_) => se_ConditionalSpecification(_, context), failureNextStep: (_) => se_DialogState(_, context), - failureResponse: (_) => _json(_), - promptSpecification: (_) => _json(_), + failureResponse: _json, + promptSpecification: _json, }); }; @@ -7707,13 +7707,13 @@ const se_PostDialogCodeHookInvocationSpecification = ( return take(input, { failureConditional: (_) => se_ConditionalSpecification(_, context), failureNextStep: (_) => se_DialogState(_, context), - failureResponse: (_) => _json(_), + failureResponse: _json, successConditional: (_) => se_ConditionalSpecification(_, context), successNextStep: (_) => se_DialogState(_, context), - successResponse: (_) => _json(_), + successResponse: _json, timeoutConditional: (_) => se_ConditionalSpecification(_, context), timeoutNextStep: (_) => se_DialogState(_, context), - timeoutResponse: (_) => _json(_), + timeoutResponse: _json, }); }; @@ -7727,13 +7727,13 @@ const se_PostFulfillmentStatusSpecification = ( return take(input, { failureConditional: (_) => se_ConditionalSpecification(_, context), failureNextStep: (_) => se_DialogState(_, context), - failureResponse: (_) => _json(_), + failureResponse: _json, successConditional: (_) => se_ConditionalSpecification(_, context), successNextStep: (_) => se_DialogState(_, context), - successResponse: (_) => _json(_), + successResponse: _json, timeoutConditional: (_) => se_ConditionalSpecification(_, context), timeoutNextStep: (_) => se_DialogState(_, context), - timeoutResponse: (_) => _json(_), + timeoutResponse: _json, }); }; @@ -7759,7 +7759,7 @@ const se_PostFulfillmentStatusSpecification = ( const se_S3BucketTranscriptSource = (input: S3BucketTranscriptSource, context: __SerdeContext): any => { return take(input, { kmsKeyArn: [], - pathFormat: (_) => _json(_), + pathFormat: _json, s3BucketName: [], transcriptFilter: (_) => se_TranscriptFilter(_, context), transcriptFormat: [], @@ -7781,12 +7781,12 @@ const se_SlotCaptureSetting = (input: SlotCaptureSetting, context: __SerdeContex return take(input, { captureConditional: (_) => se_ConditionalSpecification(_, context), captureNextStep: (_) => se_DialogState(_, context), - captureResponse: (_) => _json(_), + captureResponse: _json, codeHook: (_) => se_DialogCodeHookInvocationSetting(_, context), - elicitationCodeHook: (_) => _json(_), + elicitationCodeHook: _json, failureConditional: (_) => se_ConditionalSpecification(_, context), failureNextStep: (_) => se_DialogState(_, context), - failureResponse: (_) => _json(_), + failureResponse: _json, }); }; @@ -7823,12 +7823,12 @@ const se_SlotCaptureSetting = (input: SlotCaptureSetting, context: __SerdeContex */ const se_SlotValueElicitationSetting = (input: SlotValueElicitationSetting, context: __SerdeContext): any => { return take(input, { - defaultValueSpecification: (_) => _json(_), - promptSpecification: (_) => _json(_), - sampleUtterances: (_) => _json(_), + defaultValueSpecification: _json, + promptSpecification: _json, + sampleUtterances: _json, slotCaptureSetting: (_) => se_SlotCaptureSetting(_, context), slotConstraint: [], - waitAndContinueSpecification: (_) => _json(_), + waitAndContinueSpecification: _json, }); }; @@ -7838,7 +7838,7 @@ const se_SlotValueElicitationSetting = (input: SlotValueElicitationSetting, cont const se_SlotValueOverride = (input: SlotValueOverride, context: __SerdeContext): any => { return take(input, { shape: [], - value: (_) => _json(_), + value: _json, values: (_) => se_SlotValues(_, context), }); }; @@ -7877,7 +7877,7 @@ const se_SlotValues = (input: SlotValueOverride[], context: __SerdeContext): any const se_Specifications = (input: Specifications, context: __SerdeContext): any => { return take(input, { slotTypeId: [], - valueElicitationSetting: (_) => _json(_), + valueElicitationSetting: _json, }); }; diff --git a/clients/client-lex-runtime-v2/src/protocols/Aws_restJson1.ts b/clients/client-lex-runtime-v2/src/protocols/Aws_restJson1.ts index 7772d7849e440..4a5d060193b11 100644 --- a/clients/client-lex-runtime-v2/src/protocols/Aws_restJson1.ts +++ b/clients/client-lex-runtime-v2/src/protocols/Aws_restJson1.ts @@ -1113,7 +1113,7 @@ const de_ValidationException_event = async (output: any, context: __SerdeContext */ const se_AudioInputEvent = (input: AudioInputEvent, context: __SerdeContext): any => { return take(input, { - audioChunk: (_) => context.base64Encoder(_), + audioChunk: context.base64Encoder, clientTimestampMillis: [], contentType: [], eventId: [], @@ -1132,10 +1132,10 @@ const se_ConfigurationEvent = (input: ConfigurationEvent, context: __SerdeContex clientTimestampMillis: [], disablePlayback: [], eventId: [], - requestAttributes: (_) => _json(_), + requestAttributes: _json, responseContentType: [], sessionState: (_) => se_SessionState(_, context), - welcomeMessages: (_) => _json(_), + welcomeMessages: _json, }); }; @@ -1190,7 +1190,7 @@ const se_Intent = (input: Intent, context: __SerdeContext): any => { */ const se_RuntimeHintDetails = (input: RuntimeHintDetails, context: __SerdeContext): any => { return take(input, { - runtimeHintValues: (_) => _json(_), + runtimeHintValues: _json, subSlotHints: (_) => se_SlotHintsSlotMap(_, context), }); }; @@ -1213,12 +1213,12 @@ const se_RuntimeHints = (input: RuntimeHints, context: __SerdeContext): any => { */ const se_SessionState = (input: SessionState, context: __SerdeContext): any => { return take(input, { - activeContexts: (_) => _json(_), + activeContexts: _json, dialogAction: (_) => se_DialogAction(_, context), intent: (_) => se_Intent(_, context), originatingRequestId: [], runtimeHints: (_) => se_RuntimeHints(_, context), - sessionAttributes: (_) => _json(_), + sessionAttributes: _json, }); }; @@ -1229,7 +1229,7 @@ const se_Slot = (input: Slot, context: __SerdeContext): any => { return take(input, { shape: [], subSlots: (_) => se_Slots(_, context), - value: (_) => _json(_), + value: _json, values: (_) => se_Values(_, context), }); }; diff --git a/clients/client-lightsail/src/protocols/Aws_json1_1.ts b/clients/client-lightsail/src/protocols/Aws_json1_1.ts index 8d3b985c94ee2..fe40d5daecdce 100644 --- a/clients/client-lightsail/src/protocols/Aws_json1_1.ts +++ b/clients/client-lightsail/src/protocols/Aws_json1_1.ts @@ -12993,7 +12993,7 @@ const se_CreateRelationalDatabaseFromSnapshotRequest = ( relationalDatabaseSnapshotName: [], restoreTime: (_) => Math.round(_.getTime() / 1000), sourceRelationalDatabaseName: [], - tags: (_) => _json(_), + tags: _json, useLatestRestorableTime: [], }); }; @@ -13096,7 +13096,7 @@ const se_GetBucketMetricDataRequest = (input: GetBucketMetricDataRequest, contex metricName: [], period: [], startTime: (_) => Math.round(_.getTime() / 1000), - statistics: (_) => _json(_), + statistics: _json, unit: [], }); }; @@ -13144,7 +13144,7 @@ const se_GetContainerServiceMetricDataRequest = ( period: [], serviceName: [], startTime: (_) => Math.round(_.getTime() / 1000), - statistics: (_) => _json(_), + statistics: _json, }); }; @@ -13185,7 +13185,7 @@ const se_GetDistributionMetricDataRequest = (input: GetDistributionMetricDataReq metricName: [], period: [], startTime: (_) => Math.round(_.getTime() / 1000), - statistics: (_) => _json(_), + statistics: _json, unit: [], }); }; @@ -13210,7 +13210,7 @@ const se_GetInstanceMetricDataRequest = (input: GetInstanceMetricDataRequest, co metricName: [], period: [], startTime: (_) => Math.round(_.getTime() / 1000), - statistics: (_) => _json(_), + statistics: _json, unit: [], }); }; @@ -13241,7 +13241,7 @@ const se_GetLoadBalancerMetricDataRequest = (input: GetLoadBalancerMetricDataReq metricName: [], period: [], startTime: (_) => Math.round(_.getTime() / 1000), - statistics: (_) => _json(_), + statistics: _json, unit: [], }); }; @@ -13302,7 +13302,7 @@ const se_GetRelationalDatabaseMetricDataRequest = ( period: [], relationalDatabaseName: [], startTime: (_) => Math.round(_.getTime() / 1000), - statistics: (_) => _json(_), + statistics: _json, unit: [], }); }; @@ -13360,14 +13360,14 @@ const se_PutAlarmRequest = (input: PutAlarmRequest, context: __SerdeContext): an return take(input, { alarmName: [], comparisonOperator: [], - contactProtocols: (_) => _json(_), + contactProtocols: _json, datapointsToAlarm: [], evaluationPeriods: [], metricName: [], monitoredResourceName: [], notificationEnabled: [], - notificationTriggers: (_) => _json(_), - threshold: (_) => __serializeFloat(_), + notificationTriggers: _json, + threshold: __serializeFloat, treatMissingData: [], }); }; diff --git a/clients/client-location/src/protocols/Aws_restJson1.ts b/clients/client-location/src/protocols/Aws_restJson1.ts index e89f1f7f4c45a..da61e2ca0ce65 100644 --- a/clients/client-location/src/protocols/Aws_restJson1.ts +++ b/clients/client-location/src/protocols/Aws_restJson1.ts @@ -6166,7 +6166,7 @@ const se_CalculateRouteTruckModeOptions = (input: CalculateRouteTruckModeOptions const se_Circle = (input: Circle, context: __SerdeContext): any => { return take(input, { Center: (_) => se_Position(_, context), - Radius: (_) => __serializeFloat(_), + Radius: __serializeFloat, }); }; @@ -6184,7 +6184,7 @@ const se_DevicePositionUpdate = (input: DevicePositionUpdate, context: __SerdeCo Accuracy: (_) => se_PositionalAccuracy(_, context), DeviceId: [], Position: (_) => se_Position(_, context), - PositionProperties: (_) => _json(_), + PositionProperties: _json, SampleTime: (_) => _.toISOString().split(".")[0] + "Z", }); }; @@ -6254,7 +6254,7 @@ const se_Position = (input: number[], context: __SerdeContext): any => { */ const se_PositionalAccuracy = (input: PositionalAccuracy, context: __SerdeContext): any => { return take(input, { - Horizontal: (_) => __serializeFloat(_), + Horizontal: __serializeFloat, }); }; @@ -6280,10 +6280,10 @@ const se_PositionList = (input: number[][], context: __SerdeContext): any => { */ const se_TruckDimensions = (input: TruckDimensions, context: __SerdeContext): any => { return take(input, { - Height: (_) => __serializeFloat(_), - Length: (_) => __serializeFloat(_), + Height: __serializeFloat, + Length: __serializeFloat, Unit: [], - Width: (_) => __serializeFloat(_), + Width: __serializeFloat, }); }; @@ -6292,7 +6292,7 @@ const se_TruckDimensions = (input: TruckDimensions, context: __SerdeContext): an */ const se_TruckWeight = (input: TruckWeight, context: __SerdeContext): any => { return take(input, { - Total: (_) => __serializeFloat(_), + Total: __serializeFloat, Unit: [], }); }; diff --git a/clients/client-lookoutequipment/src/protocols/Aws_json1_0.ts b/clients/client-lookoutequipment/src/protocols/Aws_json1_0.ts index 441639ed9c3aa..a263df54b4792 100644 --- a/clients/client-lookoutequipment/src/protocols/Aws_json1_0.ts +++ b/clients/client-lookoutequipment/src/protocols/Aws_json1_0.ts @@ -2651,7 +2651,7 @@ const se_CreateDatasetRequest = (input: CreateDatasetRequest, context: __SerdeCo DatasetName: [], DatasetSchema: (_) => se_DatasetSchema(_, context), ServerSideKmsKeyId: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -2662,14 +2662,14 @@ const se_CreateInferenceSchedulerRequest = (input: CreateInferenceSchedulerReque return take(input, { ClientToken: (_) => _ ?? generateIdempotencyToken(), DataDelayOffsetInMinutes: [], - DataInputConfiguration: (_) => _json(_), - DataOutputConfiguration: (_) => _json(_), + DataInputConfiguration: _json, + DataOutputConfiguration: _json, DataUploadFrequency: [], InferenceSchedulerName: [], ModelName: [], RoleArn: [], ServerSideKmsKeyId: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -2679,9 +2679,9 @@ const se_CreateInferenceSchedulerRequest = (input: CreateInferenceSchedulerReque const se_CreateLabelGroupRequest = (input: CreateLabelGroupRequest, context: __SerdeContext): any => { return take(input, { ClientToken: (_) => _ ?? generateIdempotencyToken(), - FaultCodes: (_) => _json(_), + FaultCodes: _json, LabelGroupName: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -2707,17 +2707,17 @@ const se_CreateLabelRequest = (input: CreateLabelRequest, context: __SerdeContex const se_CreateModelRequest = (input: CreateModelRequest, context: __SerdeContext): any => { return take(input, { ClientToken: (_) => _ ?? generateIdempotencyToken(), - DataPreProcessingConfiguration: (_) => _json(_), + DataPreProcessingConfiguration: _json, DatasetName: [], DatasetSchema: (_) => se_DatasetSchema(_, context), EvaluationDataEndTime: (_) => Math.round(_.getTime() / 1000), EvaluationDataStartTime: (_) => Math.round(_.getTime() / 1000), - LabelsInputConfiguration: (_) => _json(_), + LabelsInputConfiguration: _json, ModelName: [], OffCondition: [], RoleArn: [], ServerSideKmsKeyId: [], - Tags: (_) => _json(_), + Tags: _json, TrainingDataEndTime: (_) => Math.round(_.getTime() / 1000), TrainingDataStartTime: (_) => Math.round(_.getTime() / 1000), }); @@ -2730,7 +2730,7 @@ const se_CreateModelRequest = (input: CreateModelRequest, context: __SerdeContex */ const se_DatasetSchema = (input: DatasetSchema, context: __SerdeContext): any => { return take(input, { - InlineDataSchema: (_) => __LazyJsonString.fromObject(_), + InlineDataSchema: __LazyJsonString.fromObject, }); }; @@ -2839,7 +2839,7 @@ const se_StartDataIngestionJobRequest = (input: StartDataIngestionJobRequest, co return take(input, { ClientToken: (_) => _ ?? generateIdempotencyToken(), DatasetName: [], - IngestionInputConfiguration: (_) => _json(_), + IngestionInputConfiguration: _json, RoleArn: [], }); }; diff --git a/clients/client-machine-learning/src/protocols/Aws_json1_1.ts b/clients/client-machine-learning/src/protocols/Aws_json1_1.ts index a24df94a96cea..3bb8334d6ee4d 100644 --- a/clients/client-machine-learning/src/protocols/Aws_json1_1.ts +++ b/clients/client-machine-learning/src/protocols/Aws_json1_1.ts @@ -2183,7 +2183,7 @@ const se_UpdateMLModelInput = (input: UpdateMLModelInput, context: __SerdeContex return take(input, { MLModelId: [], MLModelName: [], - ScoreThreshold: (_) => __serializeFloat(_), + ScoreThreshold: __serializeFloat, }); }; diff --git a/clients/client-macie2/src/protocols/Aws_restJson1.ts b/clients/client-macie2/src/protocols/Aws_restJson1.ts index e54477000a892..efeda1b0d2c55 100644 --- a/clients/client-macie2/src/protocols/Aws_restJson1.ts +++ b/clients/client-macie2/src/protocols/Aws_restJson1.ts @@ -7907,12 +7907,12 @@ const se_BucketCriteriaAdditionalProperties = ( context: __SerdeContext ): any => { return take(input, { - eq: [, (_) => _json(_), `eq`], + eq: [, _json, `eq`], gt: [, , `gt`], gte: [, , `gte`], lt: [, , `lt`], lte: [, , `lte`], - neq: [, (_) => _json(_), `neq`], + neq: [, _json, `neq`], prefix: [, , `prefix`], }); }; @@ -7976,13 +7976,13 @@ const se_Criterion = (input: Record, cont */ const se_CriterionAdditionalProperties = (input: CriterionAdditionalProperties, context: __SerdeContext): any => { return take(input, { - eq: [, (_) => _json(_), `eq`], - eqExactMatch: [, (_) => _json(_), `eqExactMatch`], + eq: [, _json, `eq`], + eqExactMatch: [, _json, `eqExactMatch`], gt: [, , `gt`], gte: [, , `gte`], lt: [, , `lt`], lte: [, , `lte`], - neq: [, (_) => _json(_), `neq`], + neq: [, _json, `neq`], }); }; @@ -8012,7 +8012,7 @@ const se_FindingStatisticsSortCriteria = (input: FindingStatisticsSortCriteria, */ const se_JobScheduleFrequency = (input: JobScheduleFrequency, context: __SerdeContext): any => { return take(input, { - dailySchedule: [, (_) => _json(_), `dailySchedule`], + dailySchedule: [, _json, `dailySchedule`], monthlySchedule: [, (_) => se_MonthlySchedule(_, context), `monthlySchedule`], weeklySchedule: [, (_) => se_WeeklySchedule(_, context), `weeklySchedule`], }); @@ -8054,7 +8054,7 @@ const se_ListJobsFilterTerm = (input: ListJobsFilterTerm, context: __SerdeContex return take(input, { comparator: [, , `comparator`], key: [, , `key`], - values: [, (_) => _json(_), `values`], + values: [, _json, `values`], }); }; @@ -8103,7 +8103,7 @@ const se_S3BucketCriteriaForJob = (input: S3BucketCriteriaForJob, context: __Ser const se_S3BucketDefinitionForJob = (input: S3BucketDefinitionForJob, context: __SerdeContext): any => { return take(input, { accountId: [, , `accountId`], - buckets: [, (_) => _json(_), `buckets`], + buckets: [, _json, `buckets`], }); }; @@ -8115,7 +8115,7 @@ const se_S3ClassificationScopeExclusionUpdate = ( context: __SerdeContext ): any => { return take(input, { - bucketNames: [, (_) => _json(_), `bucketNames`], + bucketNames: [, _json, `bucketNames`], operation: [, , `operation`], }); }; @@ -8207,7 +8207,7 @@ const se_SearchResourcesSimpleCriterion = (input: SearchResourcesSimpleCriterion return take(input, { comparator: [, , `comparator`], key: [, , `key`], - values: [, (_) => _json(_), `values`], + values: [, _json, `values`], }); }; @@ -8259,7 +8259,7 @@ const se_SensitivityInspectionTemplateExcludes = ( context: __SerdeContext ): any => { return take(input, { - managedDataIdentifierIds: [, (_) => _json(_), `managedDataIdentifierIds`], + managedDataIdentifierIds: [, _json, `managedDataIdentifierIds`], }); }; @@ -8271,9 +8271,9 @@ const se_SensitivityInspectionTemplateIncludes = ( context: __SerdeContext ): any => { return take(input, { - allowListIds: [, (_) => _json(_), `allowListIds`], - customDataIdentifierIds: [, (_) => _json(_), `customDataIdentifierIds`], - managedDataIdentifierIds: [, (_) => _json(_), `managedDataIdentifierIds`], + allowListIds: [, _json, `allowListIds`], + customDataIdentifierIds: [, _json, `customDataIdentifierIds`], + managedDataIdentifierIds: [, _json, `managedDataIdentifierIds`], }); }; @@ -8305,7 +8305,7 @@ const se_SimpleCriterionForJob = (input: SimpleCriterionForJob, context: __Serde return take(input, { comparator: [, , `comparator`], key: [, , `key`], - values: [, (_) => _json(_), `values`], + values: [, _json, `values`], }); }; @@ -8316,7 +8316,7 @@ const se_SimpleScopeTerm = (input: SimpleScopeTerm, context: __SerdeContext): an return take(input, { comparator: [, , `comparator`], key: [, , `key`], - values: [, (_) => _json(_), `values`], + values: [, _json, `values`], }); }; @@ -8391,7 +8391,7 @@ const se_UsageStatisticsFilter = (input: UsageStatisticsFilter, context: __Serde return take(input, { comparator: [, , `comparator`], key: [, , `key`], - values: [, (_) => _json(_), `values`], + values: [, _json, `values`], }); }; diff --git a/clients/client-marketplace-commerce-analytics/src/protocols/Aws_json1_1.ts b/clients/client-marketplace-commerce-analytics/src/protocols/Aws_json1_1.ts index a178e8170e6e7..125f3edfdd657 100644 --- a/clients/client-marketplace-commerce-analytics/src/protocols/Aws_json1_1.ts +++ b/clients/client-marketplace-commerce-analytics/src/protocols/Aws_json1_1.ts @@ -166,7 +166,7 @@ const de_MarketplaceCommerceAnalyticsExceptionRes = async ( */ const se_GenerateDataSetRequest = (input: GenerateDataSetRequest, context: __SerdeContext): any => { return take(input, { - customerDefinedValues: (_) => _json(_), + customerDefinedValues: _json, dataSetPublicationDate: (_) => Math.round(_.getTime() / 1000), dataSetType: [], destinationS3BucketName: [], @@ -181,7 +181,7 @@ const se_GenerateDataSetRequest = (input: GenerateDataSetRequest, context: __Ser */ const se_StartSupportDataExportRequest = (input: StartSupportDataExportRequest, context: __SerdeContext): any => { return take(input, { - customerDefinedValues: (_) => _json(_), + customerDefinedValues: _json, dataSetType: [], destinationS3BucketName: [], destinationS3Prefix: [], diff --git a/clients/client-marketplace-metering/src/protocols/Aws_json1_1.ts b/clients/client-marketplace-metering/src/protocols/Aws_json1_1.ts index ebc094168bb16..aaabcb60509b7 100644 --- a/clients/client-marketplace-metering/src/protocols/Aws_json1_1.ts +++ b/clients/client-marketplace-metering/src/protocols/Aws_json1_1.ts @@ -657,7 +657,7 @@ const se_MeterUsageRequest = (input: MeterUsageRequest, context: __SerdeContext) DryRun: [], ProductCode: [], Timestamp: (_) => Math.round(_.getTime() / 1000), - UsageAllocations: (_) => _json(_), + UsageAllocations: _json, UsageDimension: [], UsageQuantity: [], }); @@ -684,7 +684,7 @@ const se_UsageRecord = (input: UsageRecord, context: __SerdeContext): any => { Dimension: [], Quantity: [], Timestamp: (_) => Math.round(_.getTime() / 1000), - UsageAllocations: (_) => _json(_), + UsageAllocations: _json, }); }; diff --git a/clients/client-mediaconnect/src/protocols/Aws_restJson1.ts b/clients/client-mediaconnect/src/protocols/Aws_restJson1.ts index 7e58f1efd4538..d632ff981c878 100644 --- a/clients/client-mediaconnect/src/protocols/Aws_restJson1.ts +++ b/clients/client-mediaconnect/src/protocols/Aws_restJson1.ts @@ -5329,7 +5329,7 @@ const se_AddMediaStreamRequest = (input: AddMediaStreamRequest, context: __Serde */ const se_AddOutputRequest = (input: AddOutputRequest, context: __SerdeContext): any => { return take(input, { - cidrAllowList: [, (_) => _json(_), `CidrAllowList`], + cidrAllowList: [, _json, `CidrAllowList`], description: [, , `Description`], destination: [, , `Destination`], encryption: [, (_) => se_Encryption(_, context), `Encryption`], @@ -5367,7 +5367,7 @@ const se_DestinationConfigurationRequest = (input: DestinationConfigurationReque */ const se_EncodingParametersRequest = (input: EncodingParametersRequest, context: __SerdeContext): any => { return take(input, { - compressionFactor: [, (_) => __serializeFloat(_), `CompressionFactor`], + compressionFactor: [, __serializeFloat, `CompressionFactor`], encoderProfile: [, , `EncoderProfile`], }); }; @@ -5436,7 +5436,7 @@ const se_GrantEntitlementRequest = (input: GrantEntitlementRequest, context: __S encryption: [, (_) => se_Encryption(_, context), `Encryption`], entitlementStatus: [, , `EntitlementStatus`], name: [, , `Name`], - subscribers: [, (_) => _json(_), `Subscribers`], + subscribers: [, _json, `Subscribers`], }); }; @@ -5676,7 +5676,7 @@ const se_VpcInterfaceRequest = (input: VpcInterfaceRequest, context: __SerdeCont name: [, , `Name`], networkInterfaceType: [, , `NetworkInterfaceType`], roleArn: [, , `RoleArn`], - securityGroupIds: [, (_) => _json(_), `SecurityGroupIds`], + securityGroupIds: [, _json, `SecurityGroupIds`], subnetId: [, , `SubnetId`], }); }; diff --git a/clients/client-mediaconvert/src/protocols/Aws_restJson1.ts b/clients/client-mediaconvert/src/protocols/Aws_restJson1.ts index 1df5077523cd3..0a18eca0cbf10 100644 --- a/clients/client-mediaconvert/src/protocols/Aws_restJson1.ts +++ b/clients/client-mediaconvert/src/protocols/Aws_restJson1.ts @@ -3290,8 +3290,8 @@ const se_AudioNormalizationSettings = (input: AudioNormalizationSettings, contex correctionGateLevel: [, , `CorrectionGateLevel`], loudnessLogging: [, , `LoudnessLogging`], peakCalculation: [, , `PeakCalculation`], - targetLkfs: [, (_) => __serializeFloat(_), `TargetLkfs`], - truePeakLimiterThreshold: [, (_) => __serializeFloat(_), `TruePeakLimiterThreshold`], + targetLkfs: [, __serializeFloat, `TargetLkfs`], + truePeakLimiterThreshold: [, __serializeFloat, `TruePeakLimiterThreshold`], }); }; @@ -3307,11 +3307,11 @@ const se_AudioSelector = (input: AudioSelector, context: __SerdeContext): any => hlsRenditionGroupSettings: [, (_) => se_HlsRenditionGroupSettings(_, context), `HlsRenditionGroupSettings`], languageCode: [, , `LanguageCode`], offset: [, , `Offset`], - pids: [, (_) => _json(_), `Pids`], + pids: [, _json, `Pids`], programSelection: [, , `ProgramSelection`], remixSettings: [, (_) => se_RemixSettings(_, context), `RemixSettings`], selectorType: [, , `SelectorType`], - tracks: [, (_) => _json(_), `Tracks`], + tracks: [, _json, `Tracks`], }); }; @@ -3320,7 +3320,7 @@ const se_AudioSelector = (input: AudioSelector, context: __SerdeContext): any => */ const se_AudioSelectorGroup = (input: AudioSelectorGroup, context: __SerdeContext): any => { return take(input, { - audioSelectorNames: [, (_) => _json(_), `AudioSelectorNames`], + audioSelectorNames: [, _json, `AudioSelectorNames`], }); }; @@ -3364,7 +3364,7 @@ const se_AutomatedEncodingSettings = (input: AutomatedEncodingSettings, context: const se_Av1QvbrSettings = (input: Av1QvbrSettings, context: __SerdeContext): any => { return take(input, { qvbrQualityLevel: [, , `QvbrQualityLevel`], - qvbrQualityLevelFineTune: [, (_) => __serializeFloat(_), `QvbrQualityLevelFineTune`], + qvbrQualityLevelFineTune: [, __serializeFloat, `QvbrQualityLevelFineTune`], }); }; @@ -3379,7 +3379,7 @@ const se_Av1Settings = (input: Av1Settings, context: __SerdeContext): any => { framerateConversionAlgorithm: [, , `FramerateConversionAlgorithm`], framerateDenominator: [, , `FramerateDenominator`], framerateNumerator: [, , `FramerateNumerator`], - gopSize: [, (_) => __serializeFloat(_), `GopSize`], + gopSize: [, __serializeFloat, `GopSize`], maxBitrate: [, , `MaxBitrate`], numberBFramesBetweenReferenceFrames: [, , `NumberBFramesBetweenReferenceFrames`], qvbrSettings: [, (_) => se_Av1QvbrSettings(_, context), `QvbrSettings`], @@ -3571,7 +3571,7 @@ const se_ClipLimits = (input: ClipLimits, context: __SerdeContext): any => { const se_CmafAdditionalManifest = (input: CmafAdditionalManifest, context: __SerdeContext): any => { return take(input, { manifestNameModifier: [, , `ManifestNameModifier`], - selectedOutputs: [, (_) => _json(_), `SelectedOutputs`], + selectedOutputs: [, _json, `SelectedOutputs`], }); }; @@ -3612,7 +3612,7 @@ const se_CmafGroupSettings = (input: CmafGroupSettings, context: __SerdeContext) manifestCompression: [, , `ManifestCompression`], manifestDurationFormat: [, , `ManifestDurationFormat`], minBufferTime: [, , `MinBufferTime`], - minFinalSegmentLength: [, (_) => __serializeFloat(_), `MinFinalSegmentLength`], + minFinalSegmentLength: [, __serializeFloat, `MinFinalSegmentLength`], mpdManifestBandwidthType: [, , `MpdManifestBandwidthType`], mpdProfile: [, , `MpdProfile`], ptsOffsetHandlingForBFrames: [, , `PtsOffsetHandlingForBFrames`], @@ -3635,7 +3635,7 @@ const se_CmafImageBasedTrickPlaySettings = (input: CmafImageBasedTrickPlaySettin return take(input, { intervalCadence: [, , `IntervalCadence`], thumbnailHeight: [, , `ThumbnailHeight`], - thumbnailInterval: [, (_) => __serializeFloat(_), `ThumbnailInterval`], + thumbnailInterval: [, __serializeFloat, `ThumbnailInterval`], thumbnailWidth: [, , `ThumbnailWidth`], tileHeight: [, , `TileHeight`], tileWidth: [, , `TileWidth`], @@ -3705,7 +3705,7 @@ const se_ContainerSettings = (input: ContainerSettings, context: __SerdeContext) const se_DashAdditionalManifest = (input: DashAdditionalManifest, context: __SerdeContext): any => { return take(input, { manifestNameModifier: [, , `ManifestNameModifier`], - selectedOutputs: [, (_) => _json(_), `SelectedOutputs`], + selectedOutputs: [, _json, `SelectedOutputs`], }); }; @@ -3740,7 +3740,7 @@ const se_DashIsoGroupSettings = (input: DashIsoGroupSettings, context: __SerdeCo `ImageBasedTrickPlaySettings`, ], minBufferTime: [, , `MinBufferTime`], - minFinalSegmentLength: [, (_) => __serializeFloat(_), `MinFinalSegmentLength`], + minFinalSegmentLength: [, __serializeFloat, `MinFinalSegmentLength`], mpdManifestBandwidthType: [, , `MpdManifestBandwidthType`], mpdProfile: [, , `MpdProfile`], ptsOffsetHandlingForBFrames: [, , `PtsOffsetHandlingForBFrames`], @@ -3762,7 +3762,7 @@ const se_DashIsoImageBasedTrickPlaySettings = ( return take(input, { intervalCadence: [, , `IntervalCadence`], thumbnailHeight: [, , `ThumbnailHeight`], - thumbnailInterval: [, (_) => __serializeFloat(_), `ThumbnailInterval`], + thumbnailInterval: [, __serializeFloat, `ThumbnailInterval`], thumbnailWidth: [, , `ThumbnailWidth`], tileHeight: [, , `TileHeight`], tileWidth: [, , `TileWidth`], @@ -3900,10 +3900,10 @@ const se_Eac3AtmosSettings = (input: Eac3AtmosSettings, context: __SerdeContext) dynamicRangeCompressionLine: [, , `DynamicRangeCompressionLine`], dynamicRangeCompressionRf: [, , `DynamicRangeCompressionRf`], dynamicRangeControl: [, , `DynamicRangeControl`], - loRoCenterMixLevel: [, (_) => __serializeFloat(_), `LoRoCenterMixLevel`], - loRoSurroundMixLevel: [, (_) => __serializeFloat(_), `LoRoSurroundMixLevel`], - ltRtCenterMixLevel: [, (_) => __serializeFloat(_), `LtRtCenterMixLevel`], - ltRtSurroundMixLevel: [, (_) => __serializeFloat(_), `LtRtSurroundMixLevel`], + loRoCenterMixLevel: [, __serializeFloat, `LoRoCenterMixLevel`], + loRoSurroundMixLevel: [, __serializeFloat, `LoRoSurroundMixLevel`], + ltRtCenterMixLevel: [, __serializeFloat, `LtRtCenterMixLevel`], + ltRtSurroundMixLevel: [, __serializeFloat, `LtRtSurroundMixLevel`], meteringMode: [, , `MeteringMode`], sampleRate: [, , `SampleRate`], speechThreshold: [, , `SpeechThreshold`], @@ -3927,10 +3927,10 @@ const se_Eac3Settings = (input: Eac3Settings, context: __SerdeContext): any => { dynamicRangeCompressionRf: [, , `DynamicRangeCompressionRf`], lfeControl: [, , `LfeControl`], lfeFilter: [, , `LfeFilter`], - loRoCenterMixLevel: [, (_) => __serializeFloat(_), `LoRoCenterMixLevel`], - loRoSurroundMixLevel: [, (_) => __serializeFloat(_), `LoRoSurroundMixLevel`], - ltRtCenterMixLevel: [, (_) => __serializeFloat(_), `LtRtCenterMixLevel`], - ltRtSurroundMixLevel: [, (_) => __serializeFloat(_), `LtRtSurroundMixLevel`], + loRoCenterMixLevel: [, __serializeFloat, `LoRoCenterMixLevel`], + loRoSurroundMixLevel: [, __serializeFloat, `LoRoSurroundMixLevel`], + ltRtCenterMixLevel: [, __serializeFloat, `LtRtCenterMixLevel`], + ltRtSurroundMixLevel: [, __serializeFloat, `LtRtSurroundMixLevel`], metadataControl: [, , `MetadataControl`], passthroughControl: [, , `PassthroughControl`], phaseControl: [, , `PhaseControl`], @@ -4074,7 +4074,7 @@ const se_H264QvbrSettings = (input: H264QvbrSettings, context: __SerdeContext): return take(input, { maxAverageBitrate: [, , `MaxAverageBitrate`], qvbrQualityLevel: [, , `QvbrQualityLevel`], - qvbrQualityLevelFineTune: [, (_) => __serializeFloat(_), `QvbrQualityLevelFineTune`], + qvbrQualityLevelFineTune: [, __serializeFloat, `QvbrQualityLevelFineTune`], }); }; @@ -4098,7 +4098,7 @@ const se_H264Settings = (input: H264Settings, context: __SerdeContext): any => { framerateNumerator: [, , `FramerateNumerator`], gopBReference: [, , `GopBReference`], gopClosedCadence: [, , `GopClosedCadence`], - gopSize: [, (_) => __serializeFloat(_), `GopSize`], + gopSize: [, __serializeFloat, `GopSize`], gopSizeUnits: [, , `GopSizeUnits`], hrdBufferFinalFillPercentage: [, , `HrdBufferFinalFillPercentage`], hrdBufferInitialFillPercentage: [, , `HrdBufferInitialFillPercentage`], @@ -4135,7 +4135,7 @@ const se_H265QvbrSettings = (input: H265QvbrSettings, context: __SerdeContext): return take(input, { maxAverageBitrate: [, , `MaxAverageBitrate`], qvbrQualityLevel: [, , `QvbrQualityLevel`], - qvbrQualityLevelFineTune: [, (_) => __serializeFloat(_), `QvbrQualityLevelFineTune`], + qvbrQualityLevelFineTune: [, __serializeFloat, `QvbrQualityLevelFineTune`], }); }; @@ -4157,7 +4157,7 @@ const se_H265Settings = (input: H265Settings, context: __SerdeContext): any => { framerateNumerator: [, , `FramerateNumerator`], gopBReference: [, , `GopBReference`], gopClosedCadence: [, , `GopClosedCadence`], - gopSize: [, (_) => __serializeFloat(_), `GopSize`], + gopSize: [, __serializeFloat, `GopSize`], gopSizeUnits: [, , `GopSizeUnits`], hrdBufferFinalFillPercentage: [, , `HrdBufferFinalFillPercentage`], hrdBufferInitialFillPercentage: [, , `HrdBufferInitialFillPercentage`], @@ -4224,7 +4224,7 @@ const se_Hdr10Plus = (input: Hdr10Plus, context: __SerdeContext): any => { const se_HlsAdditionalManifest = (input: HlsAdditionalManifest, context: __SerdeContext): any => { return take(input, { manifestNameModifier: [, , `ManifestNameModifier`], - selectedOutputs: [, (_) => _json(_), `SelectedOutputs`], + selectedOutputs: [, _json, `SelectedOutputs`], }); }; @@ -4260,7 +4260,7 @@ const se_HlsEncryptionSettings = (input: HlsEncryptionSettings, context: __Serde */ const se_HlsGroupSettings = (input: HlsGroupSettings, context: __SerdeContext): any => { return take(input, { - adMarkers: [, (_) => _json(_), `AdMarkers`], + adMarkers: [, _json, `AdMarkers`], additionalManifests: [, (_) => se___listOfHlsAdditionalManifest(_, context), `AdditionalManifests`], audioOnlyHeader: [, , `AudioOnlyHeader`], baseUrl: [, , `BaseUrl`], @@ -4281,7 +4281,7 @@ const se_HlsGroupSettings = (input: HlsGroupSettings, context: __SerdeContext): ], manifestCompression: [, , `ManifestCompression`], manifestDurationFormat: [, , `ManifestDurationFormat`], - minFinalSegmentLength: [, (_) => __serializeFloat(_), `MinFinalSegmentLength`], + minFinalSegmentLength: [, __serializeFloat, `MinFinalSegmentLength`], minSegmentLength: [, , `MinSegmentLength`], outputSelection: [, , `OutputSelection`], programDateTime: [, , `ProgramDateTime`], @@ -4305,7 +4305,7 @@ const se_HlsImageBasedTrickPlaySettings = (input: HlsImageBasedTrickPlaySettings return take(input, { intervalCadence: [, , `IntervalCadence`], thumbnailHeight: [, , `ThumbnailHeight`], - thumbnailInterval: [, (_) => __serializeFloat(_), `ThumbnailInterval`], + thumbnailInterval: [, __serializeFloat, `ThumbnailInterval`], thumbnailWidth: [, , `ThumbnailWidth`], tileHeight: [, , `TileHeight`], tileWidth: [, , `TileWidth`], @@ -4401,7 +4401,7 @@ const se_Input = (input: Input, context: __SerdeContext): any => { position: [, (_) => se_Rectangle(_, context), `Position`], programNumber: [, , `ProgramNumber`], psiControl: [, , `PsiControl`], - supplementalImps: [, (_) => _json(_), `SupplementalImps`], + supplementalImps: [, _json, `SupplementalImps`], timecodeSource: [, , `TimecodeSource`], timecodeStart: [, , `TimecodeStart`], videoGenerator: [, (_) => se_InputVideoGenerator(_, context), `VideoGenerator`], @@ -4533,7 +4533,7 @@ const se_KantarWatermarkSettings = (input: KantarWatermarkSettings, context: __S channelName: [, , `ChannelName`], contentReference: [, , `ContentReference`], credentialsSecretName: [, , `CredentialsSecretName`], - fileOffset: [, (_) => __serializeFloat(_), `FileOffset`], + fileOffset: [, __serializeFloat, `FileOffset`], kantarLicenseId: [, , `KantarLicenseId`], kantarServerUrl: [, , `KantarServerUrl`], logDestination: [, , `LogDestination`], @@ -4563,25 +4563,25 @@ const se_M2tsSettings = (input: M2tsSettings, context: __SerdeContext): any => { audioBufferModel: [, , `AudioBufferModel`], audioDuration: [, , `AudioDuration`], audioFramesPerPes: [, , `AudioFramesPerPes`], - audioPids: [, (_) => _json(_), `AudioPids`], + audioPids: [, _json, `AudioPids`], bitrate: [, , `Bitrate`], bufferModel: [, , `BufferModel`], dataPTSControl: [, , `DataPTSControl`], dvbNitSettings: [, (_) => se_DvbNitSettings(_, context), `DvbNitSettings`], dvbSdtSettings: [, (_) => se_DvbSdtSettings(_, context), `DvbSdtSettings`], - dvbSubPids: [, (_) => _json(_), `DvbSubPids`], + dvbSubPids: [, _json, `DvbSubPids`], dvbTdtSettings: [, (_) => se_DvbTdtSettings(_, context), `DvbTdtSettings`], dvbTeletextPid: [, , `DvbTeletextPid`], ebpAudioInterval: [, , `EbpAudioInterval`], ebpPlacement: [, , `EbpPlacement`], esRateInPes: [, , `EsRateInPes`], forceTsVideoEbpOrder: [, , `ForceTsVideoEbpOrder`], - fragmentTime: [, (_) => __serializeFloat(_), `FragmentTime`], + fragmentTime: [, __serializeFloat, `FragmentTime`], klvMetadata: [, , `KlvMetadata`], maxPcrInterval: [, , `MaxPcrInterval`], minEbpInterval: [, , `MinEbpInterval`], nielsenId3: [, , `NielsenId3`], - nullPacketBitrate: [, (_) => __serializeFloat(_), `NullPacketBitrate`], + nullPacketBitrate: [, __serializeFloat, `NullPacketBitrate`], patInterval: [, , `PatInterval`], pcrControl: [, , `PcrControl`], pcrPid: [, , `PcrPid`], @@ -4595,7 +4595,7 @@ const se_M2tsSettings = (input: M2tsSettings, context: __SerdeContext): any => { scte35Source: [, , `Scte35Source`], segmentationMarkers: [, , `SegmentationMarkers`], segmentationStyle: [, , `SegmentationStyle`], - segmentationTime: [, (_) => __serializeFloat(_), `SegmentationTime`], + segmentationTime: [, __serializeFloat, `SegmentationTime`], timedMetadataPid: [, , `TimedMetadataPid`], transportStreamId: [, , `TransportStreamId`], videoPid: [, , `VideoPid`], @@ -4609,7 +4609,7 @@ const se_M3u8Settings = (input: M3u8Settings, context: __SerdeContext): any => { return take(input, { audioDuration: [, , `AudioDuration`], audioFramesPerPes: [, , `AudioFramesPerPes`], - audioPids: [, (_) => _json(_), `AudioPids`], + audioPids: [, _json, `AudioPids`], dataPTSControl: [, , `DataPTSControl`], maxPcrInterval: [, , `MaxPcrInterval`], nielsenId3: [, , `NielsenId3`], @@ -4768,7 +4768,7 @@ const se_Mpeg2Settings = (input: Mpeg2Settings, context: __SerdeContext): any => framerateDenominator: [, , `FramerateDenominator`], framerateNumerator: [, , `FramerateNumerator`], gopClosedCadence: [, , `GopClosedCadence`], - gopSize: [, (_) => __serializeFloat(_), `GopSize`], + gopSize: [, __serializeFloat, `GopSize`], gopSizeUnits: [, , `GopSizeUnits`], hrdBufferFinalFillPercentage: [, , `HrdBufferFinalFillPercentage`], hrdBufferInitialFillPercentage: [, , `HrdBufferInitialFillPercentage`], @@ -4800,7 +4800,7 @@ const se_Mpeg2Settings = (input: Mpeg2Settings, context: __SerdeContext): any => const se_MsSmoothAdditionalManifest = (input: MsSmoothAdditionalManifest, context: __SerdeContext): any => { return take(input, { manifestNameModifier: [, , `ManifestNameModifier`], - selectedOutputs: [, (_) => _json(_), `SelectedOutputs`], + selectedOutputs: [, _json, `SelectedOutputs`], }); }; @@ -4977,7 +4977,7 @@ const se_Output = (input: Output, context: __SerdeContext): any => { */ const se_OutputChannelMapping = (input: OutputChannelMapping, context: __SerdeContext): any => { return take(input, { - inputChannels: [, (_) => _json(_), `InputChannels`], + inputChannels: [, _json, `InputChannels`], inputChannelsFineTune: [, (_) => se___listOf__doubleMinNegative60Max6(_, context), `InputChannelsFineTune`], }); }; @@ -5151,7 +5151,7 @@ const se_SpekeKeyProvider = (input: SpekeKeyProvider, context: __SerdeContext): return take(input, { certificateArn: [, , `CertificateArn`], resourceId: [, , `ResourceId`], - systemIds: [, (_) => _json(_), `SystemIds`], + systemIds: [, _json, `SystemIds`], url: [, , `Url`], }); }; @@ -5162,8 +5162,8 @@ const se_SpekeKeyProvider = (input: SpekeKeyProvider, context: __SerdeContext): const se_SpekeKeyProviderCmaf = (input: SpekeKeyProviderCmaf, context: __SerdeContext): any => { return take(input, { certificateArn: [, , `CertificateArn`], - dashSignaledSystemIds: [, (_) => _json(_), `DashSignaledSystemIds`], - hlsSignaledSystemIds: [, (_) => _json(_), `HlsSignaledSystemIds`], + dashSignaledSystemIds: [, _json, `DashSignaledSystemIds`], + hlsSignaledSystemIds: [, _json, `HlsSignaledSystemIds`], resourceId: [, , `ResourceId`], url: [, , `Url`], }); @@ -5196,7 +5196,7 @@ const se_StaticKeyProvider = (input: StaticKeyProvider, context: __SerdeContext) const se_TeletextDestinationSettings = (input: TeletextDestinationSettings, context: __SerdeContext): any => { return take(input, { pageNumber: [, , `PageNumber`], - pageTypes: [, (_) => _json(_), `PageTypes`], + pageTypes: [, _json, `PageTypes`], }); }; @@ -5374,7 +5374,7 @@ const se_Vp8Settings = (input: Vp8Settings, context: __SerdeContext): any => { framerateConversionAlgorithm: [, , `FramerateConversionAlgorithm`], framerateDenominator: [, , `FramerateDenominator`], framerateNumerator: [, , `FramerateNumerator`], - gopSize: [, (_) => __serializeFloat(_), `GopSize`], + gopSize: [, __serializeFloat, `GopSize`], hrdBufferSize: [, , `HrdBufferSize`], maxBitrate: [, , `MaxBitrate`], parControl: [, , `ParControl`], @@ -5395,7 +5395,7 @@ const se_Vp9Settings = (input: Vp9Settings, context: __SerdeContext): any => { framerateConversionAlgorithm: [, , `FramerateConversionAlgorithm`], framerateDenominator: [, , `FramerateDenominator`], framerateNumerator: [, , `FramerateNumerator`], - gopSize: [, (_) => __serializeFloat(_), `GopSize`], + gopSize: [, __serializeFloat, `GopSize`], hrdBufferSize: [, , `HrdBufferSize`], maxBitrate: [, , `MaxBitrate`], parControl: [, , `ParControl`], diff --git a/clients/client-medialive/src/protocols/Aws_restJson1.ts b/clients/client-medialive/src/protocols/Aws_restJson1.ts index ee6adc743c838..7c7319e44d204 100644 --- a/clients/client-medialive/src/protocols/Aws_restJson1.ts +++ b/clients/client-medialive/src/protocols/Aws_restJson1.ts @@ -6713,13 +6713,13 @@ const se___listOfVideoDescription = (input: VideoDescription[], context: __Serde */ const se_AacSettings = (input: AacSettings, context: __SerdeContext): any => { return take(input, { - bitrate: [, (_) => __serializeFloat(_), `Bitrate`], + bitrate: [, __serializeFloat, `Bitrate`], codingMode: [, , `CodingMode`], inputType: [, , `InputType`], profile: [, , `Profile`], rateControlMode: [, , `RateControlMode`], rawFormat: [, , `RawFormat`], - sampleRate: [, (_) => __serializeFloat(_), `SampleRate`], + sampleRate: [, __serializeFloat, `SampleRate`], spec: [, , `Spec`], vbrQuality: [, , `VbrQuality`], }); @@ -6730,7 +6730,7 @@ const se_AacSettings = (input: AacSettings, context: __SerdeContext): any => { */ const se_Ac3Settings = (input: Ac3Settings, context: __SerdeContext): any => { return take(input, { - bitrate: [, (_) => __serializeFloat(_), `Bitrate`], + bitrate: [, __serializeFloat, `Bitrate`], bitstreamMode: [, , `BitstreamMode`], codingMode: [, , `CodingMode`], dialnorm: [, , `Dialnorm`], @@ -6764,7 +6764,7 @@ const se_ArchiveCdnSettings = (input: ArchiveCdnSettings, context: __SerdeContex const se_ArchiveContainerSettings = (input: ArchiveContainerSettings, context: __SerdeContext): any => { return take(input, { m2tsSettings: [, (_) => se_M2tsSettings(_, context), `M2tsSettings`], - rawSettings: [, (_) => _json(_), `RawSettings`], + rawSettings: [, _json, `RawSettings`], }); }; @@ -6823,7 +6823,7 @@ const se_AudioCodecSettings = (input: AudioCodecSettings, context: __SerdeContex eac3AtmosSettings: [, (_) => se_Eac3AtmosSettings(_, context), `Eac3AtmosSettings`], eac3Settings: [, (_) => se_Eac3Settings(_, context), `Eac3Settings`], mp2Settings: [, (_) => se_Mp2Settings(_, context), `Mp2Settings`], - passThroughSettings: [, (_) => _json(_), `PassThroughSettings`], + passThroughSettings: [, _json, `PassThroughSettings`], wavSettings: [, (_) => se_WavSettings(_, context), `WavSettings`], }); }; @@ -6883,7 +6883,7 @@ const se_AudioNormalizationSettings = (input: AudioNormalizationSettings, contex return take(input, { algorithm: [, , `Algorithm`], algorithmControl: [, , `AlgorithmControl`], - targetLkfs: [, (_) => __serializeFloat(_), `TargetLkfs`], + targetLkfs: [, __serializeFloat, `TargetLkfs`], }); }; @@ -7024,7 +7024,7 @@ const se_BatchScheduleActionCreateRequest = (input: BatchScheduleActionCreateReq */ const se_BatchScheduleActionDeleteRequest = (input: BatchScheduleActionDeleteRequest, context: __SerdeContext): any => { return take(input, { - actionNames: [, (_) => _json(_), `ActionNames`], + actionNames: [, _json, `ActionNames`], }); }; @@ -7085,17 +7085,17 @@ const se_CaptionDescription = (input: CaptionDescription, context: __SerdeContex */ const se_CaptionDestinationSettings = (input: CaptionDestinationSettings, context: __SerdeContext): any => { return take(input, { - aribDestinationSettings: [, (_) => _json(_), `AribDestinationSettings`], + aribDestinationSettings: [, _json, `AribDestinationSettings`], burnInDestinationSettings: [, (_) => se_BurnInDestinationSettings(_, context), `BurnInDestinationSettings`], dvbSubDestinationSettings: [, (_) => se_DvbSubDestinationSettings(_, context), `DvbSubDestinationSettings`], ebuTtDDestinationSettings: [, (_) => se_EbuTtDDestinationSettings(_, context), `EbuTtDDestinationSettings`], - embeddedDestinationSettings: [, (_) => _json(_), `EmbeddedDestinationSettings`], - embeddedPlusScte20DestinationSettings: [, (_) => _json(_), `EmbeddedPlusScte20DestinationSettings`], - rtmpCaptionInfoDestinationSettings: [, (_) => _json(_), `RtmpCaptionInfoDestinationSettings`], - scte20PlusEmbeddedDestinationSettings: [, (_) => _json(_), `Scte20PlusEmbeddedDestinationSettings`], - scte27DestinationSettings: [, (_) => _json(_), `Scte27DestinationSettings`], - smpteTtDestinationSettings: [, (_) => _json(_), `SmpteTtDestinationSettings`], - teletextDestinationSettings: [, (_) => _json(_), `TeletextDestinationSettings`], + embeddedDestinationSettings: [, _json, `EmbeddedDestinationSettings`], + embeddedPlusScte20DestinationSettings: [, _json, `EmbeddedPlusScte20DestinationSettings`], + rtmpCaptionInfoDestinationSettings: [, _json, `RtmpCaptionInfoDestinationSettings`], + scte20PlusEmbeddedDestinationSettings: [, _json, `Scte20PlusEmbeddedDestinationSettings`], + scte27DestinationSettings: [, _json, `Scte27DestinationSettings`], + smpteTtDestinationSettings: [, _json, `SmpteTtDestinationSettings`], + teletextDestinationSettings: [, _json, `TeletextDestinationSettings`], ttmlDestinationSettings: [, (_) => se_TtmlDestinationSettings(_, context), `TtmlDestinationSettings`], webvttDestinationSettings: [, (_) => se_WebvttDestinationSettings(_, context), `WebvttDestinationSettings`], }); @@ -7117,10 +7117,10 @@ const se_CaptionLanguageMapping = (input: CaptionLanguageMapping, context: __Ser */ const se_CaptionRectangle = (input: CaptionRectangle, context: __SerdeContext): any => { return take(input, { - height: [, (_) => __serializeFloat(_), `Height`], - leftOffset: [, (_) => __serializeFloat(_), `LeftOffset`], - topOffset: [, (_) => __serializeFloat(_), `TopOffset`], - width: [, (_) => __serializeFloat(_), `Width`], + height: [, __serializeFloat, `Height`], + leftOffset: [, __serializeFloat, `LeftOffset`], + topOffset: [, __serializeFloat, `TopOffset`], + width: [, __serializeFloat, `Width`], }); }; @@ -7141,7 +7141,7 @@ const se_CaptionSelector = (input: CaptionSelector, context: __SerdeContext): an const se_CaptionSelectorSettings = (input: CaptionSelectorSettings, context: __SerdeContext): any => { return take(input, { ancillarySourceSettings: [, (_) => se_AncillarySourceSettings(_, context), `AncillarySourceSettings`], - aribSourceSettings: [, (_) => _json(_), `AribSourceSettings`], + aribSourceSettings: [, _json, `AribSourceSettings`], dvbSubSourceSettings: [, (_) => se_DvbSubSourceSettings(_, context), `DvbSubSourceSettings`], embeddedSourceSettings: [, (_) => se_EmbeddedSourceSettings(_, context), `EmbeddedSourceSettings`], scte20SourceSettings: [, (_) => se_Scte20SourceSettings(_, context), `Scte20SourceSettings`], @@ -7235,13 +7235,13 @@ const se_DvbTdtSettings = (input: DvbTdtSettings, context: __SerdeContext): any */ const se_Eac3AtmosSettings = (input: Eac3AtmosSettings, context: __SerdeContext): any => { return take(input, { - bitrate: [, (_) => __serializeFloat(_), `Bitrate`], + bitrate: [, __serializeFloat, `Bitrate`], codingMode: [, , `CodingMode`], dialnorm: [, , `Dialnorm`], drcLine: [, , `DrcLine`], drcRf: [, , `DrcRf`], - heightTrim: [, (_) => __serializeFloat(_), `HeightTrim`], - surroundTrim: [, (_) => __serializeFloat(_), `SurroundTrim`], + heightTrim: [, __serializeFloat, `HeightTrim`], + surroundTrim: [, __serializeFloat, `SurroundTrim`], }); }; @@ -7251,7 +7251,7 @@ const se_Eac3AtmosSettings = (input: Eac3AtmosSettings, context: __SerdeContext) const se_Eac3Settings = (input: Eac3Settings, context: __SerdeContext): any => { return take(input, { attenuationControl: [, , `AttenuationControl`], - bitrate: [, (_) => __serializeFloat(_), `Bitrate`], + bitrate: [, __serializeFloat, `Bitrate`], bitstreamMode: [, , `BitstreamMode`], codingMode: [, , `CodingMode`], dcFilter: [, , `DcFilter`], @@ -7260,10 +7260,10 @@ const se_Eac3Settings = (input: Eac3Settings, context: __SerdeContext): any => { drcRf: [, , `DrcRf`], lfeControl: [, , `LfeControl`], lfeFilter: [, , `LfeFilter`], - loRoCenterMixLevel: [, (_) => __serializeFloat(_), `LoRoCenterMixLevel`], - loRoSurroundMixLevel: [, (_) => __serializeFloat(_), `LoRoSurroundMixLevel`], - ltRtCenterMixLevel: [, (_) => __serializeFloat(_), `LtRtCenterMixLevel`], - ltRtSurroundMixLevel: [, (_) => __serializeFloat(_), `LtRtSurroundMixLevel`], + loRoCenterMixLevel: [, __serializeFloat, `LoRoCenterMixLevel`], + loRoSurroundMixLevel: [, __serializeFloat, `LoRoSurroundMixLevel`], + ltRtCenterMixLevel: [, __serializeFloat, `LtRtCenterMixLevel`], + ltRtSurroundMixLevel: [, __serializeFloat, `LtRtSurroundMixLevel`], metadataControl: [, , `MetadataControl`], passthroughControl: [, , `PassthroughControl`], phaseControl: [, , `PhaseControl`], @@ -7480,9 +7480,9 @@ const se_GlobalConfiguration = (input: GlobalConfiguration, context: __SerdeCont */ const se_H264ColorSpaceSettings = (input: H264ColorSpaceSettings, context: __SerdeContext): any => { return take(input, { - colorSpacePassthroughSettings: [, (_) => _json(_), `ColorSpacePassthroughSettings`], - rec601Settings: [, (_) => _json(_), `Rec601Settings`], - rec709Settings: [, (_) => _json(_), `Rec709Settings`], + colorSpacePassthroughSettings: [, _json, `ColorSpacePassthroughSettings`], + rec601Settings: [, _json, `Rec601Settings`], + rec709Settings: [, _json, `Rec709Settings`], }); }; @@ -7518,7 +7518,7 @@ const se_H264Settings = (input: H264Settings, context: __SerdeContext): any => { gopBReference: [, , `GopBReference`], gopClosedCadence: [, , `GopClosedCadence`], gopNumBFrames: [, , `GopNumBFrames`], - gopSize: [, (_) => __serializeFloat(_), `GopSize`], + gopSize: [, __serializeFloat, `GopSize`], gopSizeUnits: [, , `GopSizeUnits`], level: [, , `Level`], lookAheadRateControl: [, , `LookAheadRateControl`], @@ -7550,11 +7550,11 @@ const se_H264Settings = (input: H264Settings, context: __SerdeContext): any => { */ const se_H265ColorSpaceSettings = (input: H265ColorSpaceSettings, context: __SerdeContext): any => { return take(input, { - colorSpacePassthroughSettings: [, (_) => _json(_), `ColorSpacePassthroughSettings`], - dolbyVision81Settings: [, (_) => _json(_), `DolbyVision81Settings`], + colorSpacePassthroughSettings: [, _json, `ColorSpacePassthroughSettings`], + dolbyVision81Settings: [, _json, `DolbyVision81Settings`], hdr10Settings: [, (_) => se_Hdr10Settings(_, context), `Hdr10Settings`], - rec601Settings: [, (_) => _json(_), `Rec601Settings`], - rec709Settings: [, (_) => _json(_), `Rec709Settings`], + rec601Settings: [, _json, `Rec601Settings`], + rec709Settings: [, _json, `Rec709Settings`], }); }; @@ -7585,7 +7585,7 @@ const se_H265Settings = (input: H265Settings, context: __SerdeContext): any => { framerateDenominator: [, , `FramerateDenominator`], framerateNumerator: [, , `FramerateNumerator`], gopClosedCadence: [, , `GopClosedCadence`], - gopSize: [, (_) => __serializeFloat(_), `GopSize`], + gopSize: [, __serializeFloat, `GopSize`], gopSizeUnits: [, , `GopSizeUnits`], level: [, , `Level`], lookAheadRateControl: [, , `LookAheadRateControl`], @@ -7660,7 +7660,7 @@ const se_HlsCdnSettings = (input: HlsCdnSettings, context: __SerdeContext): any */ const se_HlsGroupSettings = (input: HlsGroupSettings, context: __SerdeContext): any => { return take(input, { - adMarkers: [, (_) => _json(_), `AdMarkers`], + adMarkers: [, _json, `AdMarkers`], baseUrlContent: [, , `BaseUrlContent`], baseUrlContent1: [, , `BaseUrlContent1`], baseUrlManifest: [, , `BaseUrlManifest`], @@ -7773,7 +7773,7 @@ const se_HlsSettings = (input: HlsSettings, context: __SerdeContext): any => { return take(input, { audioOnlyHlsSettings: [, (_) => se_AudioOnlyHlsSettings(_, context), `AudioOnlyHlsSettings`], fmp4HlsSettings: [, (_) => se_Fmp4HlsSettings(_, context), `Fmp4HlsSettings`], - frameCaptureHlsSettings: [, (_) => _json(_), `FrameCaptureHlsSettings`], + frameCaptureHlsSettings: [, _json, `FrameCaptureHlsSettings`], standardHlsSettings: [, (_) => se_StandardHlsSettings(_, context), `StandardHlsSettings`], }); }; @@ -7925,7 +7925,7 @@ const se_InputPrepareScheduleActionSettings = ( return take(input, { inputAttachmentNameReference: [, , `InputAttachmentNameReference`], inputClippingSettings: [, (_) => se_InputClippingSettings(_, context), `InputClippingSettings`], - urlPath: [, (_) => _json(_), `UrlPath`], + urlPath: [, _json, `UrlPath`], }); }; @@ -7980,7 +7980,7 @@ const se_InputSwitchScheduleActionSettings = ( return take(input, { inputAttachmentNameReference: [, , `InputAttachmentNameReference`], inputClippingSettings: [, (_) => se_InputClippingSettings(_, context), `InputClippingSettings`], - urlPath: [, (_) => _json(_), `UrlPath`], + urlPath: [, _json, `UrlPath`], }); }; @@ -7989,8 +7989,8 @@ const se_InputSwitchScheduleActionSettings = ( */ const se_InputVpcRequest = (input: InputVpcRequest, context: __SerdeContext): any => { return take(input, { - securityGroupIds: [, (_) => _json(_), `SecurityGroupIds`], - subnetIds: [, (_) => _json(_), `SubnetIds`], + securityGroupIds: [, _json, `SecurityGroupIds`], + subnetIds: [, _json, `SubnetIds`], }); }; @@ -8041,11 +8041,11 @@ const se_M2tsSettings = (input: M2tsSettings, context: __SerdeContext): any => { esRateInPes: [, , `EsRateInPes`], etvPlatformPid: [, , `EtvPlatformPid`], etvSignalPid: [, , `EtvSignalPid`], - fragmentTime: [, (_) => __serializeFloat(_), `FragmentTime`], + fragmentTime: [, __serializeFloat, `FragmentTime`], klv: [, , `Klv`], klvDataPids: [, , `KlvDataPids`], nielsenId3Behavior: [, , `NielsenId3Behavior`], - nullPacketBitrate: [, (_) => __serializeFloat(_), `NullPacketBitrate`], + nullPacketBitrate: [, __serializeFloat, `NullPacketBitrate`], patInterval: [, , `PatInterval`], pcrControl: [, , `PcrControl`], pcrPeriod: [, , `PcrPeriod`], @@ -8057,10 +8057,10 @@ const se_M2tsSettings = (input: M2tsSettings, context: __SerdeContext): any => { scte27Pids: [, , `Scte27Pids`], scte35Control: [, , `Scte35Control`], scte35Pid: [, , `Scte35Pid`], - scte35PrerollPullupMilliseconds: [, (_) => __serializeFloat(_), `Scte35PrerollPullupMilliseconds`], + scte35PrerollPullupMilliseconds: [, __serializeFloat, `Scte35PrerollPullupMilliseconds`], segmentationMarkers: [, , `SegmentationMarkers`], segmentationStyle: [, , `SegmentationStyle`], - segmentationTime: [, (_) => __serializeFloat(_), `SegmentationTime`], + segmentationTime: [, __serializeFloat, `SegmentationTime`], timedMetadataBehavior: [, , `TimedMetadataBehavior`], timedMetadataPid: [, , `TimedMetadataPid`], transportStreamId: [, , `TransportStreamId`], @@ -8178,7 +8178,7 @@ const se_MotionGraphicsConfiguration = (input: MotionGraphicsConfiguration, cont */ const se_MotionGraphicsSettings = (input: MotionGraphicsSettings, context: __SerdeContext): any => { return take(input, { - htmlMotionGraphicsSettings: [, (_) => _json(_), `HtmlMotionGraphicsSettings`], + htmlMotionGraphicsSettings: [, _json, `HtmlMotionGraphicsSettings`], }); }; @@ -8187,9 +8187,9 @@ const se_MotionGraphicsSettings = (input: MotionGraphicsSettings, context: __Ser */ const se_Mp2Settings = (input: Mp2Settings, context: __SerdeContext): any => { return take(input, { - bitrate: [, (_) => __serializeFloat(_), `Bitrate`], + bitrate: [, __serializeFloat, `Bitrate`], codingMode: [, , `CodingMode`], - sampleRate: [, (_) => __serializeFloat(_), `SampleRate`], + sampleRate: [, __serializeFloat, `SampleRate`], }); }; @@ -8218,7 +8218,7 @@ const se_Mpeg2Settings = (input: Mpeg2Settings, context: __SerdeContext): any => framerateNumerator: [, , `FramerateNumerator`], gopClosedCadence: [, , `GopClosedCadence`], gopNumBFrames: [, , `GopNumBFrames`], - gopSize: [, (_) => __serializeFloat(_), `GopSize`], + gopSize: [, __serializeFloat, `GopSize`], gopSizeUnits: [, , `GopSizeUnits`], scanType: [, , `ScanType`], subgopLength: [, , `SubgopLength`], @@ -8383,7 +8383,7 @@ const se_NielsenConfiguration = (input: NielsenConfiguration, context: __SerdeCo const se_NielsenNaesIiNw = (input: NielsenNaesIiNw, context: __SerdeContext): any => { return take(input, { checkDigitString: [, , `CheckDigitString`], - sid: [, (_) => __serializeFloat(_), `Sid`], + sid: [, __serializeFloat, `Sid`], timezone: [, , `Timezone`], }); }; @@ -8404,8 +8404,8 @@ const se_NielsenWatermarksSettings = (input: NielsenWatermarksSettings, context: */ const se_Output = (input: Output, context: __SerdeContext): any => { return take(input, { - audioDescriptionNames: [, (_) => _json(_), `AudioDescriptionNames`], - captionDescriptionNames: [, (_) => _json(_), `CaptionDescriptionNames`], + audioDescriptionNames: [, _json, `AudioDescriptionNames`], + captionDescriptionNames: [, _json, `CaptionDescriptionNames`], outputName: [, , `OutputName`], outputSettings: [, (_) => se_OutputSettings(_, context), `OutputSettings`], videoDescriptionName: [, , `VideoDescriptionName`], @@ -8461,7 +8461,7 @@ const se_OutputGroupSettings = (input: OutputGroupSettings, context: __SerdeCont hlsGroupSettings: [, (_) => se_HlsGroupSettings(_, context), `HlsGroupSettings`], mediaPackageGroupSettings: [, (_) => se_MediaPackageGroupSettings(_, context), `MediaPackageGroupSettings`], msSmoothGroupSettings: [, (_) => se_MsSmoothGroupSettings(_, context), `MsSmoothGroupSettings`], - multiplexGroupSettings: [, (_) => _json(_), `MultiplexGroupSettings`], + multiplexGroupSettings: [, _json, `MultiplexGroupSettings`], rtmpGroupSettings: [, (_) => se_RtmpGroupSettings(_, context), `RtmpGroupSettings`], udpGroupSettings: [, (_) => se_UdpGroupSettings(_, context), `UdpGroupSettings`], }); @@ -8484,7 +8484,7 @@ const se_OutputSettings = (input: OutputSettings, context: __SerdeContext): any archiveOutputSettings: [, (_) => se_ArchiveOutputSettings(_, context), `ArchiveOutputSettings`], frameCaptureOutputSettings: [, (_) => se_FrameCaptureOutputSettings(_, context), `FrameCaptureOutputSettings`], hlsOutputSettings: [, (_) => se_HlsOutputSettings(_, context), `HlsOutputSettings`], - mediaPackageOutputSettings: [, (_) => _json(_), `MediaPackageOutputSettings`], + mediaPackageOutputSettings: [, _json, `MediaPackageOutputSettings`], msSmoothOutputSettings: [, (_) => se_MsSmoothOutputSettings(_, context), `MsSmoothOutputSettings`], multiplexOutputSettings: [, (_) => se_MultiplexOutputSettings(_, context), `MultiplexOutputSettings`], rtmpOutputSettings: [, (_) => se_RtmpOutputSettings(_, context), `RtmpOutputSettings`], @@ -8546,7 +8546,7 @@ const se_RenewalSettings = (input: RenewalSettings, context: __SerdeContext): an */ const se_RtmpGroupSettings = (input: RtmpGroupSettings, context: __SerdeContext): any => { return take(input, { - adMarkers: [, (_) => _json(_), `AdMarkers`], + adMarkers: [, _json, `AdMarkers`], authenticationScheme: [, , `AuthenticationScheme`], cacheFullBehavior: [, , `CacheFullBehavior`], cacheLength: [, , `CacheLength`], @@ -8601,7 +8601,7 @@ const se_ScheduleActionSettings = (input: ScheduleActionSettings, context: __Ser (_) => se_MotionGraphicsActivateScheduleActionSettings(_, context), `MotionGraphicsImageActivateSettings`, ], - motionGraphicsImageDeactivateSettings: [, (_) => _json(_), `MotionGraphicsImageDeactivateSettings`], + motionGraphicsImageDeactivateSettings: [, _json, `MotionGraphicsImageDeactivateSettings`], pauseStateSettings: [, (_) => se_PauseStateScheduleActionSettings(_, context), `PauseStateSettings`], scte35InputSettings: [, (_) => se_Scte35InputScheduleActionSettings(_, context), `Scte35InputSettings`], scte35ReturnToNetworkSettings: [ @@ -8647,7 +8647,7 @@ const se_ScheduleActionStartSettings = (input: ScheduleActionStartSettings, cont (_) => se_FollowModeScheduleActionStartSettings(_, context), `FollowModeScheduleActionStartSettings`, ], - immediateModeScheduleActionStartSettings: [, (_) => _json(_), `ImmediateModeScheduleActionStartSettings`], + immediateModeScheduleActionStartSettings: [, _json, `ImmediateModeScheduleActionStartSettings`], }); }; @@ -8966,7 +8966,7 @@ const se_UdpOutputSettings = (input: UdpOutputSettings, context: __SerdeContext) */ const se_VideoBlackFailoverSettings = (input: VideoBlackFailoverSettings, context: __SerdeContext): any => { return take(input, { - blackDetectThreshold: [, (_) => __serializeFloat(_), `BlackDetectThreshold`], + blackDetectThreshold: [, __serializeFloat, `BlackDetectThreshold`], videoBlackThresholdMsec: [, , `VideoBlackThresholdMsec`], }); }; @@ -9052,9 +9052,9 @@ const se_VideoSelectorSettings = (input: VideoSelectorSettings, context: __Serde */ const se_VpcOutputSettings = (input: VpcOutputSettings, context: __SerdeContext): any => { return take(input, { - publicAddressAllocationIds: [, (_) => _json(_), `PublicAddressAllocationIds`], - securityGroupIds: [, (_) => _json(_), `SecurityGroupIds`], - subnetIds: [, (_) => _json(_), `SubnetIds`], + publicAddressAllocationIds: [, _json, `PublicAddressAllocationIds`], + securityGroupIds: [, _json, `SecurityGroupIds`], + subnetIds: [, _json, `SubnetIds`], }); }; @@ -9063,9 +9063,9 @@ const se_VpcOutputSettings = (input: VpcOutputSettings, context: __SerdeContext) */ const se_WavSettings = (input: WavSettings, context: __SerdeContext): any => { return take(input, { - bitDepth: [, (_) => __serializeFloat(_), `BitDepth`], + bitDepth: [, __serializeFloat, `BitDepth`], codingMode: [, , `CodingMode`], - sampleRate: [, (_) => __serializeFloat(_), `SampleRate`], + sampleRate: [, __serializeFloat, `SampleRate`], }); }; diff --git a/clients/client-mediapackage-vod/src/protocols/Aws_restJson1.ts b/clients/client-mediapackage-vod/src/protocols/Aws_restJson1.ts index cf5708790dbc2..484ff4b705ef3 100644 --- a/clients/client-mediapackage-vod/src/protocols/Aws_restJson1.ts +++ b/clients/client-mediapackage-vod/src/protocols/Aws_restJson1.ts @@ -1818,7 +1818,7 @@ const se_DashPackage = (input: DashPackage, context: __SerdeContext): any => { encryption: [, (_) => se_DashEncryption(_, context), `Encryption`], includeEncoderConfigurationInSegments: [, , `IncludeEncoderConfigurationInSegments`], includeIframeOnlyStream: [, , `IncludeIframeOnlyStream`], - periodTriggers: [, (_) => _json(_), `PeriodTriggers`], + periodTriggers: [, _json, `PeriodTriggers`], segmentDurationSeconds: [, , `SegmentDurationSeconds`], segmentTemplateFormat: [, , `SegmentTemplateFormat`], }); @@ -1922,7 +1922,7 @@ const se_SpekeKeyProvider = (input: SpekeKeyProvider, context: __SerdeContext): `EncryptionContractConfiguration`, ], roleArn: [, , `RoleArn`], - systemIds: [, (_) => _json(_), `SystemIds`], + systemIds: [, _json, `SystemIds`], url: [, , `Url`], }); }; diff --git a/clients/client-mediapackage/src/protocols/Aws_restJson1.ts b/clients/client-mediapackage/src/protocols/Aws_restJson1.ts index 827cfab19bc4e..b149a8c3e9823 100644 --- a/clients/client-mediapackage/src/protocols/Aws_restJson1.ts +++ b/clients/client-mediapackage/src/protocols/Aws_restJson1.ts @@ -2043,7 +2043,7 @@ const se_DashEncryption = (input: DashEncryption, context: __SerdeContext): any */ const se_DashPackage = (input: DashPackage, context: __SerdeContext): any => { return take(input, { - adTriggers: [, (_) => _json(_), `AdTriggers`], + adTriggers: [, _json, `AdTriggers`], adsOnDeliveryRestrictions: [, , `AdsOnDeliveryRestrictions`], encryption: [, (_) => se_DashEncryption(_, context), `Encryption`], includeIframeOnlyStream: [, , `IncludeIframeOnlyStream`], @@ -2051,7 +2051,7 @@ const se_DashPackage = (input: DashPackage, context: __SerdeContext): any => { manifestWindowSeconds: [, , `ManifestWindowSeconds`], minBufferTimeSeconds: [, , `MinBufferTimeSeconds`], minUpdatePeriodSeconds: [, , `MinUpdatePeriodSeconds`], - periodTriggers: [, (_) => _json(_), `PeriodTriggers`], + periodTriggers: [, _json, `PeriodTriggers`], profile: [, , `Profile`], segmentDurationSeconds: [, , `SegmentDurationSeconds`], segmentTemplateFormat: [, , `SegmentTemplateFormat`], @@ -2103,7 +2103,7 @@ const se_HlsManifestCreateOrUpdateParameters = ( ): any => { return take(input, { adMarkers: [, , `AdMarkers`], - adTriggers: [, (_) => _json(_), `AdTriggers`], + adTriggers: [, _json, `AdTriggers`], adsOnDeliveryRestrictions: [, , `AdsOnDeliveryRestrictions`], id: [, , `Id`], includeIframeOnlyStream: [, , `IncludeIframeOnlyStream`], @@ -2120,7 +2120,7 @@ const se_HlsManifestCreateOrUpdateParameters = ( const se_HlsPackage = (input: HlsPackage, context: __SerdeContext): any => { return take(input, { adMarkers: [, , `AdMarkers`], - adTriggers: [, (_) => _json(_), `AdTriggers`], + adTriggers: [, _json, `AdTriggers`], adsOnDeliveryRestrictions: [, , `AdsOnDeliveryRestrictions`], encryption: [, (_) => se_HlsEncryption(_, context), `Encryption`], includeDvbSubtitles: [, , `IncludeDvbSubtitles`], @@ -2188,7 +2188,7 @@ const se_SpekeKeyProvider = (input: SpekeKeyProvider, context: __SerdeContext): ], resourceId: [, , `ResourceId`], roleArn: [, , `RoleArn`], - systemIds: [, (_) => _json(_), `SystemIds`], + systemIds: [, _json, `SystemIds`], url: [, , `Url`], }); }; diff --git a/clients/client-mediatailor/src/protocols/Aws_restJson1.ts b/clients/client-mediatailor/src/protocols/Aws_restJson1.ts index 0628204b87590..9819bd64c596a 100644 --- a/clients/client-mediatailor/src/protocols/Aws_restJson1.ts +++ b/clients/client-mediatailor/src/protocols/Aws_restJson1.ts @@ -3627,7 +3627,7 @@ const de_BadRequestExceptionRes = async (parsedOutput: any, context: __SerdeCont */ const se_PrefetchConsumption = (input: PrefetchConsumption, context: __SerdeContext): any => { return take(input, { - AvailMatchingCriteria: (_) => _json(_), + AvailMatchingCriteria: _json, EndTime: (_) => Math.round(_.getTime() / 1000), StartTime: (_) => Math.round(_.getTime() / 1000), }); @@ -3638,7 +3638,7 @@ const se_PrefetchConsumption = (input: PrefetchConsumption, context: __SerdeCont */ const se_PrefetchRetrieval = (input: PrefetchRetrieval, context: __SerdeContext): any => { return take(input, { - DynamicVariables: (_) => _json(_), + DynamicVariables: _json, EndTime: (_) => Math.round(_.getTime() / 1000), StartTime: (_) => Math.round(_.getTime() / 1000), }); diff --git a/clients/client-migration-hub/src/protocols/Aws_json1_1.ts b/clients/client-migration-hub/src/protocols/Aws_json1_1.ts index 898f4f68099c6..893af3c05ec35 100644 --- a/clients/client-migration-hub/src/protocols/Aws_json1_1.ts +++ b/clients/client-migration-hub/src/protocols/Aws_json1_1.ts @@ -1703,7 +1703,7 @@ const se_NotifyMigrationTaskStateRequest = (input: NotifyMigrationTaskStateReque MigrationTaskName: [], NextUpdateSeconds: [], ProgressUpdateStream: [], - Task: (_) => _json(_), + Task: _json, UpdateDateTime: (_) => Math.round(_.getTime() / 1000), }); }; diff --git a/clients/client-mq/src/protocols/Aws_restJson1.ts b/clients/client-mq/src/protocols/Aws_restJson1.ts index 0828349ae39a9..ae1a25abb1631 100644 --- a/clients/client-mq/src/protocols/Aws_restJson1.ts +++ b/clients/client-mq/src/protocols/Aws_restJson1.ts @@ -2219,7 +2219,7 @@ const se_EncryptionOptions = (input: EncryptionOptions, context: __SerdeContext) */ const se_LdapServerMetadataInput = (input: LdapServerMetadataInput, context: __SerdeContext): any => { return take(input, { - hosts: [, (_) => _json(_), `Hosts`], + hosts: [, _json, `Hosts`], roleBase: [, , `RoleBase`], roleName: [, , `RoleName`], roleSearchMatching: [, , `RoleSearchMatching`], @@ -2249,7 +2249,7 @@ const se_Logs = (input: Logs, context: __SerdeContext): any => { const se_User = (input: User, context: __SerdeContext): any => { return take(input, { consoleAccess: [, , `ConsoleAccess`], - groups: [, (_) => _json(_), `Groups`], + groups: [, _json, `Groups`], password: [, , `Password`], username: [, , `Username`], }); diff --git a/clients/client-mwaa/src/protocols/Aws_restJson1.ts b/clients/client-mwaa/src/protocols/Aws_restJson1.ts index a7308e109c9a1..41b478b1c57e2 100644 --- a/clients/client-mwaa/src/protocols/Aws_restJson1.ts +++ b/clients/client-mwaa/src/protocols/Aws_restJson1.ts @@ -1135,12 +1135,12 @@ const se_MetricData = (input: MetricDatum[], context: __SerdeContext): any => { */ const se_MetricDatum = (input: MetricDatum, context: __SerdeContext): any => { return take(input, { - Dimensions: (_) => _json(_), + Dimensions: _json, MetricName: [], StatisticValues: (_) => se_StatisticSet(_, context), Timestamp: (_) => Math.round(_.getTime() / 1000), Unit: [], - Value: (_) => __serializeFloat(_), + Value: __serializeFloat, }); }; @@ -1155,10 +1155,10 @@ const se_MetricDatum = (input: MetricDatum, context: __SerdeContext): any => { */ const se_StatisticSet = (input: StatisticSet, context: __SerdeContext): any => { return take(input, { - Maximum: (_) => __serializeFloat(_), - Minimum: (_) => __serializeFloat(_), + Maximum: __serializeFloat, + Minimum: __serializeFloat, SampleCount: [], - Sum: (_) => __serializeFloat(_), + Sum: __serializeFloat, }); }; diff --git a/clients/client-network-firewall/src/protocols/Aws_json1_0.ts b/clients/client-network-firewall/src/protocols/Aws_json1_0.ts index aa9dd616790dc..147f7668730b2 100644 --- a/clients/client-network-firewall/src/protocols/Aws_json1_0.ts +++ b/clients/client-network-firewall/src/protocols/Aws_json1_0.ts @@ -2976,12 +2976,12 @@ const se_CreateRuleGroupRequest = (input: CreateRuleGroupRequest, context: __Ser Capacity: [], Description: [], DryRun: [], - EncryptionConfiguration: (_) => _json(_), - RuleGroup: (_) => _json(_), + EncryptionConfiguration: _json, + RuleGroup: _json, RuleGroupName: [], Rules: [], - SourceMetadata: (_) => _json(_), - Tags: (_) => _json(_), + SourceMetadata: _json, + Tags: _json, Type: [], }); }; @@ -3175,12 +3175,12 @@ const se_UpdateRuleGroupRequest = (input: UpdateRuleGroupRequest, context: __Ser return take(input, { Description: [], DryRun: [], - EncryptionConfiguration: (_) => _json(_), - RuleGroup: (_) => _json(_), + EncryptionConfiguration: _json, + RuleGroup: _json, RuleGroupArn: [], RuleGroupName: [], Rules: [], - SourceMetadata: (_) => _json(_), + SourceMetadata: _json, Type: [], UpdateToken: [], }); diff --git a/clients/client-opensearch/src/protocols/Aws_restJson1.ts b/clients/client-opensearch/src/protocols/Aws_restJson1.ts index fb0511d302afd..189dcabd13552 100644 --- a/clients/client-opensearch/src/protocols/Aws_restJson1.ts +++ b/clients/client-opensearch/src/protocols/Aws_restJson1.ts @@ -5109,7 +5109,7 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont const se_AutoTuneMaintenanceSchedule = (input: AutoTuneMaintenanceSchedule, context: __SerdeContext): any => { return take(input, { CronExpressionForRecurrence: [], - Duration: (_) => _json(_), + Duration: _json, StartAt: (_) => Math.round(_.getTime() / 1000), }); }; diff --git a/clients/client-opensearchserverless/src/protocols/Aws_json1_0.ts b/clients/client-opensearchserverless/src/protocols/Aws_json1_0.ts index 774170faf89a1..e43ffaa3487b6 100644 --- a/clients/client-opensearchserverless/src/protocols/Aws_json1_0.ts +++ b/clients/client-opensearchserverless/src/protocols/Aws_json1_0.ts @@ -2294,7 +2294,7 @@ const se_CreateCollectionRequest = (input: CreateCollectionRequest, context: __S clientToken: (_) => _ ?? generateIdempotencyToken(), description: [], name: [], - tags: (_) => _json(_), + tags: _json, type: [], }); }; @@ -2307,7 +2307,7 @@ const se_CreateSecurityConfigRequest = (input: CreateSecurityConfigRequest, cont clientToken: (_) => _ ?? generateIdempotencyToken(), description: [], name: [], - samlOptions: (_) => _json(_), + samlOptions: _json, type: [], }); }; @@ -2332,8 +2332,8 @@ const se_CreateVpcEndpointRequest = (input: CreateVpcEndpointRequest, context: _ return take(input, { clientToken: (_) => _ ?? generateIdempotencyToken(), name: [], - securityGroupIds: (_) => _json(_), - subnetIds: (_) => _json(_), + securityGroupIds: _json, + subnetIds: _json, vpcId: [], }); }; @@ -2466,7 +2466,7 @@ const se_UpdateSecurityConfigRequest = (input: UpdateSecurityConfigRequest, cont configVersion: [], description: [], id: [], - samlOptions: (_) => _json(_), + samlOptions: _json, }); }; @@ -2489,12 +2489,12 @@ const se_UpdateSecurityPolicyRequest = (input: UpdateSecurityPolicyRequest, cont */ const se_UpdateVpcEndpointRequest = (input: UpdateVpcEndpointRequest, context: __SerdeContext): any => { return take(input, { - addSecurityGroupIds: (_) => _json(_), - addSubnetIds: (_) => _json(_), + addSecurityGroupIds: _json, + addSubnetIds: _json, clientToken: (_) => _ ?? generateIdempotencyToken(), id: [], - removeSecurityGroupIds: (_) => _json(_), - removeSubnetIds: (_) => _json(_), + removeSecurityGroupIds: _json, + removeSubnetIds: _json, }); }; diff --git a/clients/client-opsworks/src/protocols/Aws_json1_1.ts b/clients/client-opsworks/src/protocols/Aws_json1_1.ts index 82f22948068cc..2f78698a87fb8 100644 --- a/clients/client-opsworks/src/protocols/Aws_json1_1.ts +++ b/clients/client-opsworks/src/protocols/Aws_json1_1.ts @@ -4754,12 +4754,12 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont */ const se_AutoScalingThresholds = (input: AutoScalingThresholds, context: __SerdeContext): any => { return take(input, { - Alarms: (_) => _json(_), - CpuThreshold: (_) => __serializeFloat(_), + Alarms: _json, + CpuThreshold: __serializeFloat, IgnoreMetricsTime: [], InstanceCount: [], - LoadThreshold: (_) => __serializeFloat(_), - MemoryThreshold: (_) => __serializeFloat(_), + LoadThreshold: __serializeFloat, + MemoryThreshold: __serializeFloat, ThresholdsWaitTime: [], }); }; diff --git a/clients/client-personalize-events/src/protocols/Aws_restJson1.ts b/clients/client-personalize-events/src/protocols/Aws_restJson1.ts index 9b7cea84ed1b3..08c12dbfa9c63 100644 --- a/clients/client-personalize-events/src/protocols/Aws_restJson1.ts +++ b/clients/client-personalize-events/src/protocols/Aws_restJson1.ts @@ -331,11 +331,11 @@ const se_Event = (input: Event, context: __SerdeContext): any => { return take(input, { eventId: [], eventType: [], - eventValue: (_) => __serializeFloat(_), - impression: (_) => _json(_), + eventValue: __serializeFloat, + impression: _json, itemId: [], - metricAttribution: (_) => _json(_), - properties: (_) => __LazyJsonString.fromObject(_), + metricAttribution: _json, + properties: __LazyJsonString.fromObject, recommendationId: [], sentAt: (_) => Math.round(_.getTime() / 1000), }); @@ -360,7 +360,7 @@ const se_EventList = (input: Event[], context: __SerdeContext): any => { const se_Item = (input: Item, context: __SerdeContext): any => { return take(input, { itemId: [], - properties: (_) => __LazyJsonString.fromObject(_), + properties: __LazyJsonString.fromObject, }); }; @@ -382,7 +382,7 @@ const se_ItemList = (input: Item[], context: __SerdeContext): any => { */ const se_User = (input: User, context: __SerdeContext): any => { return take(input, { - properties: (_) => __LazyJsonString.fromObject(_), + properties: __LazyJsonString.fromObject, userId: [], }); }; diff --git a/clients/client-personalize/src/protocols/Aws_json1_1.ts b/clients/client-personalize/src/protocols/Aws_json1_1.ts index a2d000b5464e6..54cee9446802f 100644 --- a/clients/client-personalize/src/protocols/Aws_json1_1.ts +++ b/clients/client-personalize/src/protocols/Aws_json1_1.ts @@ -4768,8 +4768,8 @@ const de_TooManyTagsExceptionRes = async ( */ const se_ContinuousHyperParameterRange = (input: ContinuousHyperParameterRange, context: __SerdeContext): any => { return take(input, { - maxValue: (_) => __serializeFloat(_), - minValue: (_) => __serializeFloat(_), + maxValue: __serializeFloat, + minValue: __serializeFloat, name: [], }); }; @@ -4821,7 +4821,7 @@ const se_CreateSolutionRequest = (input: CreateSolutionRequest, context: __Serde performHPO: [], recipeArn: [], solutionConfig: (_) => se_SolutionConfig(_, context), - tags: (_) => _json(_), + tags: _json, }); }; @@ -4893,8 +4893,8 @@ const se_CreateSolutionRequest = (input: CreateSolutionRequest, context: __Serde const se_HPOConfig = (input: HPOConfig, context: __SerdeContext): any => { return take(input, { algorithmHyperParameterRanges: (_) => se_HyperParameterRanges(_, context), - hpoObjective: (_) => _json(_), - hpoResourceConfig: (_) => _json(_), + hpoObjective: _json, + hpoResourceConfig: _json, }); }; @@ -4907,9 +4907,9 @@ const se_HPOConfig = (input: HPOConfig, context: __SerdeContext): any => { */ const se_HyperParameterRanges = (input: HyperParameterRanges, context: __SerdeContext): any => { return take(input, { - categoricalHyperParameterRanges: (_) => _json(_), + categoricalHyperParameterRanges: _json, continuousHyperParameterRanges: (_) => se_ContinuousHyperParameterRanges(_, context), - integerHyperParameterRanges: (_) => _json(_), + integerHyperParameterRanges: _json, }); }; @@ -4972,12 +4972,12 @@ const se_HyperParameterRanges = (input: HyperParameterRanges, context: __SerdeCo */ const se_SolutionConfig = (input: SolutionConfig, context: __SerdeContext): any => { return take(input, { - algorithmHyperParameters: (_) => _json(_), - autoMLConfig: (_) => _json(_), + algorithmHyperParameters: _json, + autoMLConfig: _json, eventValueThreshold: [], - featureTransformationParameters: (_) => _json(_), + featureTransformationParameters: _json, hpoConfig: (_) => se_HPOConfig(_, context), - optimizationObjective: (_) => _json(_), + optimizationObjective: _json, }); }; diff --git a/clients/client-pi/src/protocols/Aws_json1_1.ts b/clients/client-pi/src/protocols/Aws_json1_1.ts index e1e9f46b2ea59..7d1d8573c610f 100644 --- a/clients/client-pi/src/protocols/Aws_json1_1.ts +++ b/clients/client-pi/src/protocols/Aws_json1_1.ts @@ -504,15 +504,15 @@ const de_NotAuthorizedExceptionRes = async ( */ const se_DescribeDimensionKeysRequest = (input: DescribeDimensionKeysRequest, context: __SerdeContext): any => { return take(input, { - AdditionalMetrics: (_) => _json(_), + AdditionalMetrics: _json, EndTime: (_) => Math.round(_.getTime() / 1000), - Filter: (_) => _json(_), - GroupBy: (_) => _json(_), + Filter: _json, + GroupBy: _json, Identifier: [], MaxResults: [], Metric: [], NextToken: [], - PartitionBy: (_) => _json(_), + PartitionBy: _json, PeriodInSeconds: [], ServiceType: [], StartTime: (_) => Math.round(_.getTime() / 1000), @@ -535,7 +535,7 @@ const se_GetResourceMetricsRequest = (input: GetResourceMetricsRequest, context: EndTime: (_) => Math.round(_.getTime() / 1000), Identifier: [], MaxResults: [], - MetricQueries: (_) => _json(_), + MetricQueries: _json, NextToken: [], PeriodAlignment: [], PeriodInSeconds: [], diff --git a/clients/client-pinpoint-email/src/protocols/Aws_restJson1.ts b/clients/client-pinpoint-email/src/protocols/Aws_restJson1.ts index b5fd7090e5faf..457839accbc69 100644 --- a/clients/client-pinpoint-email/src/protocols/Aws_restJson1.ts +++ b/clients/client-pinpoint-email/src/protocols/Aws_restJson1.ts @@ -4025,7 +4025,7 @@ const se_DomainDeliverabilityTrackingOption = ( ): any => { return take(input, { Domain: [], - InboxPlacementTrackingOption: (_) => _json(_), + InboxPlacementTrackingOption: _json, SubscriptionStartDate: (_) => Math.round(_.getTime() / 1000), }); }; @@ -4052,8 +4052,8 @@ const se_DomainDeliverabilityTrackingOptions = ( const se_EmailContent = (input: EmailContent, context: __SerdeContext): any => { return take(input, { Raw: (_) => se_RawMessage(_, context), - Simple: (_) => _json(_), - Template: (_) => _json(_), + Simple: _json, + Template: _json, }); }; @@ -4080,7 +4080,7 @@ const se_EmailContent = (input: EmailContent, context: __SerdeContext): any => { */ const se_RawMessage = (input: RawMessage, context: __SerdeContext): any => { return take(input, { - Data: (_) => context.base64Encoder(_), + Data: context.base64Encoder, }); }; diff --git a/clients/client-pinpoint-sms-voice-v2/src/protocols/Aws_json1_0.ts b/clients/client-pinpoint-sms-voice-v2/src/protocols/Aws_json1_0.ts index 74973f4d6714f..b94e631aa8b6d 100644 --- a/clients/client-pinpoint-sms-voice-v2/src/protocols/Aws_json1_0.ts +++ b/clients/client-pinpoint-sms-voice-v2/src/protocols/Aws_json1_0.ts @@ -3469,7 +3469,7 @@ const se_CreateConfigurationSetRequest = (input: CreateConfigurationSetRequest, return take(input, { ClientToken: (_) => _ ?? generateIdempotencyToken(), ConfigurationSetName: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -3479,12 +3479,12 @@ const se_CreateConfigurationSetRequest = (input: CreateConfigurationSetRequest, const se_CreateEventDestinationRequest = (input: CreateEventDestinationRequest, context: __SerdeContext): any => { return take(input, { ClientToken: (_) => _ ?? generateIdempotencyToken(), - CloudWatchLogsDestination: (_) => _json(_), + CloudWatchLogsDestination: _json, ConfigurationSetName: [], EventDestinationName: [], - KinesisFirehoseDestination: (_) => _json(_), - MatchingEventTypes: (_) => _json(_), - SnsDestination: (_) => _json(_), + KinesisFirehoseDestination: _json, + MatchingEventTypes: _json, + SnsDestination: _json, }); }; @@ -3495,7 +3495,7 @@ const se_CreateOptOutListRequest = (input: CreateOptOutListRequest, context: __S return take(input, { ClientToken: (_) => _ ?? generateIdempotencyToken(), OptOutListName: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -3509,7 +3509,7 @@ const se_CreatePoolRequest = (input: CreatePoolRequest, context: __SerdeContext) IsoCountryCode: [], MessageType: [], OriginationIdentity: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -3629,12 +3629,12 @@ const se_RequestPhoneNumberRequest = (input: RequestPhoneNumberRequest, context: DeletionProtectionEnabled: [], IsoCountryCode: [], MessageType: [], - NumberCapabilities: (_) => _json(_), + NumberCapabilities: _json, NumberType: [], OptOutListName: [], PoolId: [], RegistrationId: [], - Tags: (_) => _json(_), + Tags: _json, }); }; diff --git a/clients/client-pinpoint/src/protocols/Aws_restJson1.ts b/clients/client-pinpoint/src/protocols/Aws_restJson1.ts index 17f2492c8534a..2a05e1d5c1225 100644 --- a/clients/client-pinpoint/src/protocols/Aws_restJson1.ts +++ b/clients/client-pinpoint/src/protocols/Aws_restJson1.ts @@ -12160,17 +12160,17 @@ const de_TooManyRequestsExceptionRes = async ( */ const se_Activity = (input: Activity, context: __SerdeContext): any => { return take(input, { - CUSTOM: (_) => _json(_), + CUSTOM: _json, ConditionalSplit: (_) => se_ConditionalSplitActivity(_, context), - ContactCenter: (_) => _json(_), + ContactCenter: _json, Description: [], - EMAIL: (_) => _json(_), - Holdout: (_) => _json(_), + EMAIL: _json, + Holdout: _json, MultiCondition: (_) => se_MultiConditionalSplitActivity(_, context), - PUSH: (_) => _json(_), - RandomSplit: (_) => _json(_), - SMS: (_) => _json(_), - Wait: (_) => _json(_), + PUSH: _json, + RandomSplit: _json, + SMS: _json, + Wait: _json, }); }; @@ -12242,7 +12242,7 @@ const se_Condition = (input: Condition, context: __SerdeContext): any => { const se_ConditionalSplitActivity = (input: ConditionalSplitActivity, context: __SerdeContext): any => { return take(input, { Condition: (_) => se_Condition(_, context), - EvaluationWaitTime: (_) => _json(_), + EvaluationWaitTime: _json, FalseActivity: [], TrueActivity: [], }); @@ -12256,7 +12256,7 @@ const se_ConditionalSplitActivity = (input: ConditionalSplitActivity, context: _ const se_CreateApplicationRequest = (input: CreateApplicationRequest, context: __SerdeContext): any => { return take(input, { Name: [], - tags: [, (_) => _json(_), `tags`], + tags: [, _json, `tags`], }); }; @@ -12279,15 +12279,15 @@ const se_CreateApplicationRequest = (input: CreateApplicationRequest, context: _ */ const se_DirectMessageConfiguration = (input: DirectMessageConfiguration, context: __SerdeContext): any => { return take(input, { - ADMMessage: (_) => _json(_), - APNSMessage: (_) => _json(_), - BaiduMessage: (_) => _json(_), - DefaultMessage: (_) => _json(_), - DefaultPushNotificationMessage: (_) => _json(_), + ADMMessage: _json, + APNSMessage: _json, + BaiduMessage: _json, + DefaultMessage: _json, + DefaultPushNotificationMessage: _json, EmailMessage: (_) => se_EmailMessage(_, context), - GCMMessage: (_) => _json(_), - SMSMessage: (_) => _json(_), - VoiceMessage: (_) => _json(_), + GCMMessage: _json, + SMSMessage: _json, + VoiceMessage: _json, }); }; @@ -12302,9 +12302,9 @@ const se_EmailMessage = (input: EmailMessage, context: __SerdeContext): any => { FeedbackForwardingAddress: [], FromAddress: [], RawEmail: (_) => se_RawEmail(_, context), - ReplyToAddresses: (_) => _json(_), - SimpleEmail: (_) => _json(_), - Substitutions: (_) => _json(_), + ReplyToAddresses: _json, + SimpleEmail: _json, + Substitutions: _json, }); }; @@ -12321,7 +12321,7 @@ const se_EmailTemplateRequest = (input: EmailTemplateRequest, context: __SerdeCo Subject: [], TemplateDescription: [], TextPart: [], - tags: [, (_) => _json(_), `tags`], + tags: [, _json, `tags`], }); }; @@ -12331,9 +12331,9 @@ const se_EmailTemplateRequest = (input: EmailTemplateRequest, context: __SerdeCo const se_EndpointBatchItem = (input: EndpointBatchItem, context: __SerdeContext): any => { return take(input, { Address: [], - Attributes: (_) => _json(_), + Attributes: _json, ChannelType: [], - Demographic: (_) => _json(_), + Demographic: _json, EffectiveDate: [], EndpointStatus: [], Id: [], @@ -12341,7 +12341,7 @@ const se_EndpointBatchItem = (input: EndpointBatchItem, context: __SerdeContext) Metrics: (_) => se_MapOf__double(_, context), OptOut: [], RequestId: [], - User: (_) => _json(_), + User: _json, }); }; @@ -12363,8 +12363,8 @@ const se_EndpointLocation = (input: EndpointLocation, context: __SerdeContext): return take(input, { City: [], Country: [], - Latitude: (_) => __serializeFloat(_), - Longitude: (_) => __serializeFloat(_), + Latitude: __serializeFloat, + Longitude: __serializeFloat, PostalCode: [], Region: [], }); @@ -12376,16 +12376,16 @@ const se_EndpointLocation = (input: EndpointLocation, context: __SerdeContext): const se_EndpointRequest = (input: EndpointRequest, context: __SerdeContext): any => { return take(input, { Address: [], - Attributes: (_) => _json(_), + Attributes: _json, ChannelType: [], - Demographic: (_) => _json(_), + Demographic: _json, EffectiveDate: [], EndpointStatus: [], Location: (_) => se_EndpointLocation(_, context), Metrics: (_) => se_MapOf__double(_, context), OptOut: [], RequestId: [], - User: (_) => _json(_), + User: _json, }); }; @@ -12401,12 +12401,12 @@ const se_Event = (input: Event, context: __SerdeContext): any => { AppPackageName: [], AppTitle: [], AppVersionCode: [], - Attributes: (_) => _json(_), + Attributes: _json, ClientSdkVersion: [], EventType: [], Metrics: (_) => se_MapOf__double(_, context), SdkName: [], - Session: (_) => _json(_), + Session: _json, Timestamp: [], }); }; @@ -12426,8 +12426,8 @@ const se_EventCondition = (input: EventCondition, context: __SerdeContext): any */ const se_EventDimensions = (input: EventDimensions, context: __SerdeContext): any => { return take(input, { - Attributes: (_) => _json(_), - EventType: (_) => _json(_), + Attributes: _json, + EventType: _json, Metrics: (_) => se_MapOfMetricDimension(_, context), }); }; @@ -12482,8 +12482,8 @@ const se_EventStartCondition = (input: EventStartCondition, context: __SerdeCont */ const se_GPSCoordinates = (input: GPSCoordinates, context: __SerdeContext): any => { return take(input, { - Latitude: (_) => __serializeFloat(_), - Longitude: (_) => __serializeFloat(_), + Latitude: __serializeFloat, + Longitude: __serializeFloat, }); }; @@ -12493,7 +12493,7 @@ const se_GPSCoordinates = (input: GPSCoordinates, context: __SerdeContext): any const se_GPSPointDimension = (input: GPSPointDimension, context: __SerdeContext): any => { return take(input, { Coordinates: (_) => se_GPSCoordinates(_, context), - RangeInKilometers: (_) => __serializeFloat(_), + RangeInKilometers: __serializeFloat, }); }; @@ -12514,11 +12514,11 @@ const se_GPSPointDimension = (input: GPSPointDimension, context: __SerdeContext) */ const se_InAppTemplateRequest = (input: InAppTemplateRequest, context: __SerdeContext): any => { return take(input, { - Content: (_) => _json(_), - CustomConfig: (_) => _json(_), + Content: _json, + CustomConfig: _json, Layout: [], TemplateDescription: [], - tags: [, (_) => _json(_), `tags`], + tags: [, _json, `tags`], }); }; @@ -12713,11 +12713,11 @@ const se_MapOfMetricDimension = (input: Record, context */ const se_MessageRequest = (input: MessageRequest, context: __SerdeContext): any => { return take(input, { - Addresses: (_) => _json(_), - Context: (_) => _json(_), - Endpoints: (_) => _json(_), + Addresses: _json, + Context: _json, + Endpoints: _json, MessageConfiguration: (_) => se_DirectMessageConfiguration(_, context), - TemplateConfiguration: (_) => _json(_), + TemplateConfiguration: _json, TraceId: [], }); }; @@ -12728,7 +12728,7 @@ const se_MessageRequest = (input: MessageRequest, context: __SerdeContext): any const se_MetricDimension = (input: MetricDimension, context: __SerdeContext): any => { return take(input, { ComparisonOperator: [], - Value: (_) => __serializeFloat(_), + Value: __serializeFloat, }); }; @@ -12749,7 +12749,7 @@ const se_MultiConditionalSplitActivity = (input: MultiConditionalSplitActivity, return take(input, { Branches: (_) => se_ListOfMultiConditionalBranch(_, context), DefaultActivity: [], - EvaluationWaitTime: (_) => _json(_), + EvaluationWaitTime: _json, }); }; @@ -12767,16 +12767,16 @@ const se_MultiConditionalSplitActivity = (input: MultiConditionalSplitActivity, const se_PublicEndpoint = (input: PublicEndpoint, context: __SerdeContext): any => { return take(input, { Address: [], - Attributes: (_) => _json(_), + Attributes: _json, ChannelType: [], - Demographic: (_) => _json(_), + Demographic: _json, EffectiveDate: [], EndpointStatus: [], Location: (_) => se_EndpointLocation(_, context), Metrics: (_) => se_MapOf__double(_, context), OptOut: [], RequestId: [], - User: (_) => _json(_), + User: _json, }); }; @@ -12787,15 +12787,15 @@ const se_PublicEndpoint = (input: PublicEndpoint, context: __SerdeContext): any */ const se_PushNotificationTemplateRequest = (input: PushNotificationTemplateRequest, context: __SerdeContext): any => { return take(input, { - ADM: (_) => _json(_), - APNS: (_) => _json(_), - Baidu: (_) => _json(_), - Default: (_) => _json(_), + ADM: _json, + APNS: _json, + Baidu: _json, + Default: _json, DefaultSubstitutions: [], - GCM: (_) => _json(_), + GCM: _json, RecommenderId: [], TemplateDescription: [], - tags: [, (_) => _json(_), `tags`], + tags: [, _json, `tags`], }); }; @@ -12810,7 +12810,7 @@ const se_PushNotificationTemplateRequest = (input: PushNotificationTemplateReque */ const se_RawEmail = (input: RawEmail, context: __SerdeContext): any => { return take(input, { - Data: (_) => context.base64Encoder(_), + Data: context.base64Encoder, }); }; @@ -12825,7 +12825,7 @@ const se_Schedule = (input: Schedule, context: __SerdeContext): any => { EventFilter: (_) => se_CampaignEventFilter(_, context), Frequency: [], IsLocalTime: [], - QuietTime: (_) => _json(_), + QuietTime: _json, StartTime: [], Timezone: [], }); @@ -12842,12 +12842,12 @@ const se_Schedule = (input: Schedule, context: __SerdeContext): any => { */ const se_SegmentDimensions = (input: SegmentDimensions, context: __SerdeContext): any => { return take(input, { - Attributes: (_) => _json(_), - Behavior: (_) => _json(_), - Demographic: (_) => _json(_), + Attributes: _json, + Behavior: _json, + Demographic: _json, Location: (_) => se_SegmentLocation(_, context), Metrics: (_) => se_MapOfMetricDimension(_, context), - UserAttributes: (_) => _json(_), + UserAttributes: _json, }); }; @@ -12857,7 +12857,7 @@ const se_SegmentDimensions = (input: SegmentDimensions, context: __SerdeContext) const se_SegmentGroup = (input: SegmentGroup, context: __SerdeContext): any => { return take(input, { Dimensions: (_) => se_ListOfSegmentDimensions(_, context), - SourceSegments: (_) => _json(_), + SourceSegments: _json, SourceType: [], Type: [], }); @@ -12878,7 +12878,7 @@ const se_SegmentGroupList = (input: SegmentGroupList, context: __SerdeContext): */ const se_SegmentLocation = (input: SegmentLocation, context: __SerdeContext): any => { return take(input, { - Country: (_) => _json(_), + Country: _json, GPSPoint: (_) => se_GPSPointDimension(_, context), }); }; @@ -12892,11 +12892,11 @@ const se_SegmentLocation = (input: SegmentLocation, context: __SerdeContext): an */ const se_SendUsersMessageRequest = (input: SendUsersMessageRequest, context: __SerdeContext): any => { return take(input, { - Context: (_) => _json(_), + Context: _json, MessageConfiguration: (_) => se_DirectMessageConfiguration(_, context), - TemplateConfiguration: (_) => _json(_), + TemplateConfiguration: _json, TraceId: [], - Users: (_) => _json(_), + Users: _json, }); }; @@ -12910,7 +12910,7 @@ const se_SendUsersMessageRequest = (input: SendUsersMessageRequest, context: __S const se_SimpleCondition = (input: SimpleCondition, context: __SerdeContext): any => { return take(input, { EventCondition: (_) => se_EventCondition(_, context), - SegmentCondition: (_) => _json(_), + SegmentCondition: _json, segmentDimensions: [, (_) => se_SegmentDimensions(_, context), `SegmentDimensions`], }); }; @@ -12934,7 +12934,7 @@ const se_SMSTemplateRequest = (input: SMSTemplateRequest, context: __SerdeContex DefaultSubstitutions: [], RecommenderId: [], TemplateDescription: [], - tags: [, (_) => _json(_), `tags`], + tags: [, _json, `tags`], }); }; @@ -12945,7 +12945,7 @@ const se_StartCondition = (input: StartCondition, context: __SerdeContext): any return take(input, { Description: [], EventStartCondition: (_) => se_EventStartCondition(_, context), - SegmentStartCondition: (_) => _json(_), + SegmentStartCondition: _json, }); }; @@ -12954,7 +12954,7 @@ const se_StartCondition = (input: StartCondition, context: __SerdeContext): any */ const se_TagsModel = (input: TagsModel, context: __SerdeContext): any => { return take(input, { - tags: [, (_) => _json(_), `tags`], + tags: [, _json, `tags`], }); }; @@ -12984,7 +12984,7 @@ const se_VoiceTemplateRequest = (input: VoiceTemplateRequest, context: __SerdeCo LanguageCode: [], TemplateDescription: [], VoiceId: [], - tags: [, (_) => _json(_), `tags`], + tags: [, _json, `tags`], }); }; @@ -13000,22 +13000,22 @@ const se_VoiceTemplateRequest = (input: VoiceTemplateRequest, context: __SerdeCo const se_WriteCampaignRequest = (input: WriteCampaignRequest, context: __SerdeContext): any => { return take(input, { AdditionalTreatments: (_) => se_ListOfWriteTreatmentResource(_, context), - CustomDeliveryConfiguration: (_) => _json(_), + CustomDeliveryConfiguration: _json, Description: [], HoldoutPercent: [], - Hook: (_) => _json(_), + Hook: _json, IsPaused: [], - Limits: (_) => _json(_), - MessageConfiguration: (_) => _json(_), + Limits: _json, + MessageConfiguration: _json, Name: [], Priority: [], Schedule: (_) => se_Schedule(_, context), SegmentId: [], SegmentVersion: [], - TemplateConfiguration: (_) => _json(_), + TemplateConfiguration: _json, TreatmentDescription: [], TreatmentName: [], - tags: [, (_) => _json(_), `tags`], + tags: [, _json, `tags`], }); }; @@ -13027,15 +13027,15 @@ const se_WriteCampaignRequest = (input: WriteCampaignRequest, context: __SerdeCo const se_WriteJourneyRequest = (input: WriteJourneyRequest, context: __SerdeContext): any => { return take(input, { Activities: (_) => se_MapOfActivity(_, context), - ClosedDays: (_) => _json(_), + ClosedDays: _json, CreationDate: [], - JourneyChannelSettings: (_) => _json(_), + JourneyChannelSettings: _json, LastModifiedDate: [], - Limits: (_) => _json(_), + Limits: _json, LocalTime: [], Name: [], - OpenHours: (_) => _json(_), - QuietTime: (_) => _json(_), + OpenHours: _json, + QuietTime: _json, RefreshFrequency: [], RefreshOnSegmentUpdate: [], Schedule: (_) => se_JourneySchedule(_, context), @@ -13055,7 +13055,7 @@ const se_WriteSegmentRequest = (input: WriteSegmentRequest, context: __SerdeCont Dimensions: (_) => se_SegmentDimensions(_, context), Name: [], SegmentGroups: (_) => se_SegmentGroupList(_, context), - tags: [, (_) => _json(_), `tags`], + tags: [, _json, `tags`], }); }; @@ -13064,11 +13064,11 @@ const se_WriteSegmentRequest = (input: WriteSegmentRequest, context: __SerdeCont */ const se_WriteTreatmentResource = (input: WriteTreatmentResource, context: __SerdeContext): any => { return take(input, { - CustomDeliveryConfiguration: (_) => _json(_), - MessageConfiguration: (_) => _json(_), + CustomDeliveryConfiguration: _json, + MessageConfiguration: _json, Schedule: (_) => se_Schedule(_, context), SizePercent: [], - TemplateConfiguration: (_) => _json(_), + TemplateConfiguration: _json, TreatmentDescription: [], TreatmentName: [], }); diff --git a/clients/client-pipes/src/protocols/Aws_restJson1.ts b/clients/client-pipes/src/protocols/Aws_restJson1.ts index 0573cb3e35698..6b31cd2407506 100644 --- a/clients/client-pipes/src/protocols/Aws_restJson1.ts +++ b/clients/client-pipes/src/protocols/Aws_restJson1.ts @@ -1199,7 +1199,7 @@ const se_PipeSourceKinesisStreamParameters = ( ): any => { return take(input, { BatchSize: [], - DeadLetterConfig: (_) => _json(_), + DeadLetterConfig: _json, MaximumBatchingWindowInSeconds: [], MaximumRecordAgeInSeconds: [], MaximumRetryAttempts: [], @@ -1217,14 +1217,14 @@ const se_PipeSourceKinesisStreamParameters = ( */ const se_PipeSourceParameters = (input: PipeSourceParameters, context: __SerdeContext): any => { return take(input, { - ActiveMQBrokerParameters: (_) => _json(_), - DynamoDBStreamParameters: (_) => _json(_), - FilterCriteria: (_) => _json(_), + ActiveMQBrokerParameters: _json, + DynamoDBStreamParameters: _json, + FilterCriteria: _json, KinesisStreamParameters: (_) => se_PipeSourceKinesisStreamParameters(_, context), - ManagedStreamingKafkaParameters: (_) => _json(_), - RabbitMQBrokerParameters: (_) => _json(_), - SelfManagedKafkaParameters: (_) => _json(_), - SqsQueueParameters: (_) => _json(_), + ManagedStreamingKafkaParameters: _json, + RabbitMQBrokerParameters: _json, + SelfManagedKafkaParameters: _json, + SqsQueueParameters: _json, }); }; diff --git a/clients/client-privatenetworks/src/protocols/Aws_restJson1.ts b/clients/client-privatenetworks/src/protocols/Aws_restJson1.ts index 61ebae83cfba1..f9cdd28d720d1 100644 --- a/clients/client-privatenetworks/src/protocols/Aws_restJson1.ts +++ b/clients/client-privatenetworks/src/protocols/Aws_restJson1.ts @@ -2448,11 +2448,11 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont */ const se_Position = (input: Position, context: __SerdeContext): any => { return take(input, { - elevation: (_) => __serializeFloat(_), + elevation: __serializeFloat, elevationReference: [], elevationUnit: [], - latitude: (_) => __serializeFloat(_), - longitude: (_) => __serializeFloat(_), + latitude: __serializeFloat, + longitude: __serializeFloat, }); }; diff --git a/clients/client-proton/src/protocols/Aws_json1_0.ts b/clients/client-proton/src/protocols/Aws_json1_0.ts index 398ec766dfbd2..912d2f9b544a6 100644 --- a/clients/client-proton/src/protocols/Aws_json1_0.ts +++ b/clients/client-proton/src/protocols/Aws_json1_0.ts @@ -6700,7 +6700,7 @@ const se_CreateComponentInput = (input: CreateComponentInput, context: __SerdeCo serviceInstanceName: [], serviceName: [], serviceSpec: [], - tags: (_) => _json(_), + tags: _json, templateFile: [], }); }; @@ -6719,7 +6719,7 @@ const se_CreateEnvironmentAccountConnectionInput = ( environmentName: [], managementAccountId: [], roleArn: [], - tags: (_) => _json(_), + tags: _json, }); }; @@ -6734,9 +6734,9 @@ const se_CreateEnvironmentInput = (input: CreateEnvironmentInput, context: __Ser environmentAccountConnectionId: [], name: [], protonServiceRoleArn: [], - provisioningRepository: (_) => _json(_), + provisioningRepository: _json, spec: [], - tags: (_) => _json(_), + tags: _json, templateMajorVersion: [], templateMinorVersion: [], templateName: [], @@ -6756,8 +6756,8 @@ const se_CreateEnvironmentTemplateVersionInput = ( clientToken: (_) => _ ?? generateIdempotencyToken(), description: [], majorVersion: [], - source: (_) => _json(_), - tags: (_) => _json(_), + source: _json, + tags: _json, templateName: [], }); }; @@ -6775,7 +6775,7 @@ const se_CreateServiceInput = (input: CreateServiceInput, context: __SerdeContex repositoryConnectionArn: [], repositoryId: [], spec: [], - tags: (_) => _json(_), + tags: _json, templateMajorVersion: [], templateMinorVersion: [], templateName: [], @@ -6791,7 +6791,7 @@ const se_CreateServiceInstanceInput = (input: CreateServiceInstanceInput, contex name: [], serviceName: [], spec: [], - tags: (_) => _json(_), + tags: _json, templateMajorVersion: [], templateMinorVersion: [], }); @@ -6810,12 +6810,12 @@ const se_CreateServiceTemplateVersionInput = ( ): any => { return take(input, { clientToken: (_) => _ ?? generateIdempotencyToken(), - compatibleEnvironmentTemplates: (_) => _json(_), + compatibleEnvironmentTemplates: _json, description: [], majorVersion: [], - source: (_) => _json(_), - supportedComponentSources: (_) => _json(_), - tags: (_) => _json(_), + source: _json, + supportedComponentSources: _json, + tags: _json, templateName: [], }); }; @@ -6988,7 +6988,7 @@ const se_UpdateEnvironmentInput = (input: UpdateEnvironmentInput, context: __Ser environmentAccountConnectionId: [], name: [], protonServiceRoleArn: [], - provisioningRepository: (_) => _json(_), + provisioningRepository: _json, spec: [], templateMajorVersion: [], templateMinorVersion: [], diff --git a/clients/client-qldb-session/src/protocols/Aws_json1_0.ts b/clients/client-qldb-session/src/protocols/Aws_json1_0.ts index 3a16d3eadcddf..9589abcd4e7e0 100644 --- a/clients/client-qldb-session/src/protocols/Aws_json1_0.ts +++ b/clients/client-qldb-session/src/protocols/Aws_json1_0.ts @@ -213,7 +213,7 @@ const de_RateExceededExceptionRes = async ( */ const se_CommitTransactionRequest = (input: CommitTransactionRequest, context: __SerdeContext): any => { return take(input, { - CommitDigest: (_) => context.base64Encoder(_), + CommitDigest: context.base64Encoder, TransactionId: [], }); }; @@ -238,14 +238,14 @@ const se_ExecuteStatementRequest = (input: ExecuteStatementRequest, context: __S */ const se_SendCommandRequest = (input: SendCommandRequest, context: __SerdeContext): any => { return take(input, { - AbortTransaction: (_) => _json(_), + AbortTransaction: _json, CommitTransaction: (_) => se_CommitTransactionRequest(_, context), - EndSession: (_) => _json(_), + EndSession: _json, ExecuteStatement: (_) => se_ExecuteStatementRequest(_, context), - FetchPage: (_) => _json(_), + FetchPage: _json, SessionToken: [], - StartSession: (_) => _json(_), - StartTransaction: (_) => _json(_), + StartSession: _json, + StartTransaction: _json, }); }; @@ -269,7 +269,7 @@ const se_StatementParameters = (input: ValueHolder[], context: __SerdeContext): */ const se_ValueHolder = (input: ValueHolder, context: __SerdeContext): any => { return take(input, { - IonBinary: (_) => context.base64Encoder(_), + IonBinary: context.base64Encoder, IonText: [], }); }; diff --git a/clients/client-quicksight/src/protocols/Aws_restJson1.ts b/clients/client-quicksight/src/protocols/Aws_restJson1.ts index 31f42b32dd48d..3447149425a64 100644 --- a/clients/client-quicksight/src/protocols/Aws_restJson1.ts +++ b/clients/client-quicksight/src/protocols/Aws_restJson1.ts @@ -15824,7 +15824,7 @@ const se_AggregationFunction = (input: AggregationFunction, context: __SerdeCont const se_AggregationSortConfiguration = (input: AggregationSortConfiguration, context: __SerdeContext): any => { return take(input, { AggregationFunction: (_) => se_AggregationFunction(_, context), - Column: (_) => _json(_), + Column: _json, SortDirection: [], }); }; @@ -15851,10 +15851,10 @@ const se_AggregationSortConfigurationList = (input: AggregationSortConfiguration */ const se_AnalysisDefinition = (input: AnalysisDefinition, context: __SerdeContext): any => { return take(input, { - AnalysisDefaults: (_) => _json(_), - CalculatedFields: (_) => _json(_), - ColumnConfigurations: (_) => _json(_), - DataSetIdentifierDeclarations: (_) => _json(_), + AnalysisDefaults: _json, + CalculatedFields: _json, + ColumnConfigurations: _json, + DataSetIdentifierDeclarations: _json, FilterGroups: (_) => se_FilterGroupList(_, context), ParameterDeclarations: (_) => se_ParameterDeclarationList(_, context), Sheets: (_) => se_SheetDefinitionList(_, context), @@ -15894,8 +15894,8 @@ const se_ArcAxisConfiguration = (input: ArcAxisConfiguration, context: __SerdeCo */ const se_ArcAxisDisplayRange = (input: ArcAxisDisplayRange, context: __SerdeContext): any => { return take(input, { - Max: (_) => __serializeFloat(_), - Min: (_) => __serializeFloat(_), + Max: __serializeFloat, + Min: __serializeFloat, }); }; @@ -15904,7 +15904,7 @@ const se_ArcAxisDisplayRange = (input: ArcAxisDisplayRange, context: __SerdeCont */ const se_ArcConfiguration = (input: ArcConfiguration, context: __SerdeContext): any => { return take(input, { - ArcAngle: (_) => __serializeFloat(_), + ArcAngle: __serializeFloat, ArcThickness: [], }); }; @@ -15926,7 +15926,7 @@ const se_ArcConfiguration = (input: ArcConfiguration, context: __SerdeContext): */ const se_AxisDataOptions = (input: AxisDataOptions, context: __SerdeContext): any => { return take(input, { - DateAxisOptions: (_) => _json(_), + DateAxisOptions: _json, NumericAxisOptions: (_) => se_NumericAxisOptions(_, context), }); }; @@ -15938,8 +15938,8 @@ const se_AxisDataOptions = (input: AxisDataOptions, context: __SerdeContext): an */ const se_AxisDisplayMinMaxRange = (input: AxisDisplayMinMaxRange, context: __SerdeContext): any => { return take(input, { - Maximum: (_) => __serializeFloat(_), - Minimum: (_) => __serializeFloat(_), + Maximum: __serializeFloat, + Minimum: __serializeFloat, }); }; @@ -15962,7 +15962,7 @@ const se_AxisDisplayOptions = (input: AxisDisplayOptions, context: __SerdeContex */ const se_AxisDisplayRange = (input: AxisDisplayRange, context: __SerdeContext): any => { return take(input, { - DataDriven: (_) => _json(_), + DataDriven: _json, MinMax: (_) => se_AxisDisplayMinMaxRange(_, context), }); }; @@ -15979,7 +15979,7 @@ const se_AxisDisplayRange = (input: AxisDisplayRange, context: __SerdeContext): const se_AxisLinearScale = (input: AxisLinearScale, context: __SerdeContext): any => { return take(input, { StepCount: [], - StepSize: (_) => __serializeFloat(_), + StepSize: __serializeFloat, }); }; @@ -15988,7 +15988,7 @@ const se_AxisLinearScale = (input: AxisLinearScale, context: __SerdeContext): an */ const se_AxisLogarithmicScale = (input: AxisLogarithmicScale, context: __SerdeContext): any => { return take(input, { - Base: (_) => __serializeFloat(_), + Base: __serializeFloat, }); }; @@ -16007,8 +16007,8 @@ const se_AxisScale = (input: AxisScale, context: __SerdeContext): any => { */ const se_AxisTickLabelOptions = (input: AxisTickLabelOptions, context: __SerdeContext): any => { return take(input, { - LabelOptions: (_) => _json(_), - RotationAngle: (_) => __serializeFloat(_), + LabelOptions: _json, + RotationAngle: __serializeFloat, }); }; @@ -16017,9 +16017,9 @@ const se_AxisTickLabelOptions = (input: AxisTickLabelOptions, context: __SerdeCo */ const se_BarChartAggregatedFieldWells = (input: BarChartAggregatedFieldWells, context: __SerdeContext): any => { return take(input, { - Category: (_) => _json(_), - Colors: (_) => _json(_), - SmallMultiples: (_) => _json(_), + Category: _json, + Colors: _json, + SmallMultiples: _json, Values: (_) => se_MeasureFieldList(_, context), }); }; @@ -16031,20 +16031,20 @@ const se_BarChartConfiguration = (input: BarChartConfiguration, context: __Serde return take(input, { BarsArrangement: [], CategoryAxis: (_) => se_AxisDisplayOptions(_, context), - CategoryLabelOptions: (_) => _json(_), - ColorLabelOptions: (_) => _json(_), - ContributionAnalysisDefaults: (_) => _json(_), - DataLabels: (_) => _json(_), + CategoryLabelOptions: _json, + ColorLabelOptions: _json, + ContributionAnalysisDefaults: _json, + DataLabels: _json, FieldWells: (_) => se_BarChartFieldWells(_, context), - Legend: (_) => _json(_), + Legend: _json, Orientation: [], ReferenceLines: (_) => se_ReferenceLineList(_, context), - SmallMultiplesOptions: (_) => _json(_), + SmallMultiplesOptions: _json, SortConfiguration: (_) => se_BarChartSortConfiguration(_, context), Tooltip: (_) => se_TooltipOptions(_, context), ValueAxis: (_) => se_AxisDisplayOptions(_, context), - ValueLabelOptions: (_) => _json(_), - VisualPalette: (_) => _json(_), + ValueLabelOptions: _json, + VisualPalette: _json, }); }; @@ -16062,11 +16062,11 @@ const se_BarChartFieldWells = (input: BarChartFieldWells, context: __SerdeContex */ const se_BarChartSortConfiguration = (input: BarChartSortConfiguration, context: __SerdeContext): any => { return take(input, { - CategoryItemsLimit: (_) => _json(_), + CategoryItemsLimit: _json, CategorySort: (_) => se_FieldSortOptionsList(_, context), - ColorItemsLimit: (_) => _json(_), + ColorItemsLimit: _json, ColorSort: (_) => se_FieldSortOptionsList(_, context), - SmallMultiplesLimitConfiguration: (_) => _json(_), + SmallMultiplesLimitConfiguration: _json, SmallMultiplesSort: (_) => se_FieldSortOptionsList(_, context), }); }; @@ -16079,8 +16079,8 @@ const se_BarChartVisual = (input: BarChartVisual, context: __SerdeContext): any Actions: (_) => se_VisualCustomActionList(_, context), ChartConfiguration: (_) => se_BarChartConfiguration(_, context), ColumnHierarchies: (_) => se_ColumnHierarchyList(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -16093,7 +16093,7 @@ const se_BarChartVisual = (input: BarChartVisual, context: __SerdeContext): any const se_BinWidthOptions = (input: BinWidthOptions, context: __SerdeContext): any => { return take(input, { BinCountLimit: [], - Value: (_) => __serializeFloat(_), + Value: __serializeFloat, }); }; @@ -16110,7 +16110,7 @@ const se_BinWidthOptions = (input: BinWidthOptions, context: __SerdeContext): an */ const se_BoxPlotAggregatedFieldWells = (input: BoxPlotAggregatedFieldWells, context: __SerdeContext): any => { return take(input, { - GroupBy: (_) => _json(_), + GroupBy: _json, Values: (_) => se_BoxPlotMeasureFieldList(_, context), }); }; @@ -16120,17 +16120,17 @@ const se_BoxPlotAggregatedFieldWells = (input: BoxPlotAggregatedFieldWells, cont */ const se_BoxPlotChartConfiguration = (input: BoxPlotChartConfiguration, context: __SerdeContext): any => { return take(input, { - BoxPlotOptions: (_) => _json(_), + BoxPlotOptions: _json, CategoryAxis: (_) => se_AxisDisplayOptions(_, context), - CategoryLabelOptions: (_) => _json(_), + CategoryLabelOptions: _json, FieldWells: (_) => se_BoxPlotFieldWells(_, context), - Legend: (_) => _json(_), + Legend: _json, PrimaryYAxisDisplayOptions: (_) => se_AxisDisplayOptions(_, context), - PrimaryYAxisLabelOptions: (_) => _json(_), + PrimaryYAxisLabelOptions: _json, ReferenceLines: (_) => se_ReferenceLineList(_, context), SortConfiguration: (_) => se_BoxPlotSortConfiguration(_, context), Tooltip: (_) => se_TooltipOptions(_, context), - VisualPalette: (_) => _json(_), + VisualPalette: _json, }); }; @@ -16164,7 +16164,7 @@ const se_BoxPlotMeasureFieldList = (input: MeasureField[], context: __SerdeConte const se_BoxPlotSortConfiguration = (input: BoxPlotSortConfiguration, context: __SerdeContext): any => { return take(input, { CategorySort: (_) => se_FieldSortOptionsList(_, context), - PaginationConfiguration: (_) => _json(_), + PaginationConfiguration: _json, }); }; @@ -16178,8 +16178,8 @@ const se_BoxPlotVisual = (input: BoxPlotVisual, context: __SerdeContext): any => Actions: (_) => se_VisualCustomActionList(_, context), ChartConfiguration: (_) => se_BoxPlotChartConfiguration(_, context), ColumnHierarchies: (_) => se_ColumnHierarchyList(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -16305,7 +16305,7 @@ const se_ColumnSort = (input: ColumnSort, context: __SerdeContext): any => { return take(input, { AggregationFunction: (_) => se_AggregationFunction(_, context), Direction: [], - SortBy: (_) => _json(_), + SortBy: _json, }); }; @@ -16321,7 +16321,7 @@ const se_ColumnSort = (input: ColumnSort, context: __SerdeContext): any => { const se_ColumnTooltipItem = (input: ColumnTooltipItem, context: __SerdeContext): any => { return take(input, { Aggregation: (_) => se_AggregationFunction(_, context), - Column: (_) => _json(_), + Column: _json, Label: [], Visibility: [], }); @@ -16333,8 +16333,8 @@ const se_ColumnTooltipItem = (input: ColumnTooltipItem, context: __SerdeContext) const se_ComboChartAggregatedFieldWells = (input: ComboChartAggregatedFieldWells, context: __SerdeContext): any => { return take(input, { BarValues: (_) => se_MeasureFieldList(_, context), - Category: (_) => _json(_), - Colors: (_) => _json(_), + Category: _json, + Colors: _json, LineValues: (_) => se_MeasureFieldList(_, context), }); }; @@ -16344,22 +16344,22 @@ const se_ComboChartAggregatedFieldWells = (input: ComboChartAggregatedFieldWells */ const se_ComboChartConfiguration = (input: ComboChartConfiguration, context: __SerdeContext): any => { return take(input, { - BarDataLabels: (_) => _json(_), + BarDataLabels: _json, BarsArrangement: [], CategoryAxis: (_) => se_AxisDisplayOptions(_, context), - CategoryLabelOptions: (_) => _json(_), - ColorLabelOptions: (_) => _json(_), + CategoryLabelOptions: _json, + ColorLabelOptions: _json, FieldWells: (_) => se_ComboChartFieldWells(_, context), - Legend: (_) => _json(_), - LineDataLabels: (_) => _json(_), + Legend: _json, + LineDataLabels: _json, PrimaryYAxisDisplayOptions: (_) => se_AxisDisplayOptions(_, context), - PrimaryYAxisLabelOptions: (_) => _json(_), + PrimaryYAxisLabelOptions: _json, ReferenceLines: (_) => se_ReferenceLineList(_, context), SecondaryYAxisDisplayOptions: (_) => se_AxisDisplayOptions(_, context), - SecondaryYAxisLabelOptions: (_) => _json(_), + SecondaryYAxisLabelOptions: _json, SortConfiguration: (_) => se_ComboChartSortConfiguration(_, context), Tooltip: (_) => se_TooltipOptions(_, context), - VisualPalette: (_) => _json(_), + VisualPalette: _json, }); }; @@ -16377,9 +16377,9 @@ const se_ComboChartFieldWells = (input: ComboChartFieldWells, context: __SerdeCo */ const se_ComboChartSortConfiguration = (input: ComboChartSortConfiguration, context: __SerdeContext): any => { return take(input, { - CategoryItemsLimit: (_) => _json(_), + CategoryItemsLimit: _json, CategorySort: (_) => se_FieldSortOptionsList(_, context), - ColorItemsLimit: (_) => _json(_), + ColorItemsLimit: _json, ColorSort: (_) => se_FieldSortOptionsList(_, context), }); }; @@ -16392,8 +16392,8 @@ const se_ComboChartVisual = (input: ComboChartVisual, context: __SerdeContext): Actions: (_) => se_VisualCustomActionList(_, context), ChartConfiguration: (_) => se_ComboChartConfiguration(_, context), ColumnHierarchies: (_) => se_ColumnHierarchyList(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -16416,7 +16416,7 @@ const se_Computation = (input: Computation, context: __SerdeContext): any => { TopBottomMovers: (_) => se_TopBottomMoversComputation(_, context), TopBottomRanked: (_) => se_TopBottomRankedComputation(_, context), TotalAggregation: (_) => se_TotalAggregationComputation(_, context), - UniqueValues: (_) => _json(_), + UniqueValues: _json, }); }; @@ -16437,7 +16437,7 @@ const se_ComputationList = (input: Computation[], context: __SerdeContext): any const se_ConditionalFormattingColor = (input: ConditionalFormattingColor, context: __SerdeContext): any => { return take(input, { Gradient: (_) => se_ConditionalFormattingGradientColor(_, context), - Solid: (_) => _json(_), + Solid: _json, }); }; @@ -16504,10 +16504,10 @@ const se_CustomActionSetParametersOperation = ( const se_CustomContentVisual = (input: CustomContentVisual, context: __SerdeContext): any => { return take(input, { Actions: (_) => se_VisualCustomActionList(_, context), - ChartConfiguration: (_) => _json(_), + ChartConfiguration: _json, DataSetIdentifier: [], - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -16525,8 +16525,8 @@ const se_CustomParameterValues = (input: CustomParameterValues, context: __Serde return take(input, { DateTimeValues: (_) => se_DateTimeDefaultValueList(_, context), DecimalValues: (_) => se_DecimalDefaultValueList(_, context), - IntegerValues: (_) => _json(_), - StringValues: (_) => _json(_), + IntegerValues: _json, + StringValues: _json, }); }; @@ -16557,10 +16557,10 @@ const se_CustomValuesConfiguration = (input: CustomValuesConfiguration, context: */ const se_DashboardVersionDefinition = (input: DashboardVersionDefinition, context: __SerdeContext): any => { return take(input, { - AnalysisDefaults: (_) => _json(_), - CalculatedFields: (_) => _json(_), - ColumnConfigurations: (_) => _json(_), - DataSetIdentifierDeclarations: (_) => _json(_), + AnalysisDefaults: _json, + CalculatedFields: _json, + ColumnConfigurations: _json, + DataSetIdentifierDeclarations: _json, FilterGroups: (_) => se_FilterGroupList(_, context), ParameterDeclarations: (_) => se_ParameterDeclarationList(_, context), Sheets: (_) => se_SheetDefinitionList(_, context), @@ -16581,7 +16581,7 @@ const se_DashboardVersionDefinition = (input: DashboardVersionDefinition, contex const se_DataColor = (input: DataColor, context: __SerdeContext): any => { return take(input, { Color: [], - DataValue: (_) => __serializeFloat(_), + DataValue: __serializeFloat, }); }; @@ -16667,8 +16667,8 @@ const se_DateTimeDefaultValueList = (input: Date[], context: __SerdeContext): an */ const se_DateTimeDefaultValues = (input: DateTimeDefaultValues, context: __SerdeContext): any => { return take(input, { - DynamicValue: (_) => _json(_), - RollingDate: (_) => _json(_), + DynamicValue: _json, + RollingDate: _json, StaticValues: (_) => se_DateTimeDefaultValueList(_, context), }); }; @@ -16749,7 +16749,7 @@ const se_DecimalDefaultValueList = (input: number[], context: __SerdeContext): a */ const se_DecimalDefaultValues = (input: DecimalDefaultValues, context: __SerdeContext): any => { return take(input, { - DynamicValue: (_) => _json(_), + DynamicValue: _json, StaticValues: (_) => se_DecimalDefaultValueList(_, context), }); }; @@ -16797,7 +16797,7 @@ const se_DecimalValueWhenUnsetConfiguration = ( context: __SerdeContext ): any => { return take(input, { - CustomValue: (_) => __serializeFloat(_), + CustomValue: __serializeFloat, ValueWhenUnsetOption: [], }); }; @@ -16842,7 +16842,7 @@ const se_DestinationParameterValueConfiguration = ( */ const se_DrillDownFilter = (input: DrillDownFilter, context: __SerdeContext): any => { return take(input, { - CategoryFilter: (_) => _json(_), + CategoryFilter: _json, NumericEqualityFilter: (_) => se_NumericEqualityDrillDownFilter(_, context), TimeRangeFilter: (_) => se_TimeRangeDrillDownFilter(_, context), }); @@ -16883,7 +16883,7 @@ const se_EmptyVisual = (input: EmptyVisual, context: __SerdeContext): any => { */ const se_ExplicitHierarchy = (input: ExplicitHierarchy, context: __SerdeContext): any => { return take(input, { - Columns: (_) => _json(_), + Columns: _json, DrillDownFilters: (_) => se_DrillDownFilterList(_, context), HierarchyId: [], }); @@ -16926,7 +16926,7 @@ const se_FieldBasedTooltip = (input: FieldBasedTooltip, context: __SerdeContext) const se_FieldSortOptions = (input: FieldSortOptions, context: __SerdeContext): any => { return take(input, { ColumnSort: (_) => se_ColumnSort(_, context), - FieldSort: (_) => _json(_), + FieldSort: _json, }); }; @@ -16948,7 +16948,7 @@ const se_FieldSortOptionsList = (input: FieldSortOptions[], context: __SerdeCont */ const se_FilledMapAggregatedFieldWells = (input: FilledMapAggregatedFieldWells, context: __SerdeContext): any => { return take(input, { - Geospatial: (_) => _json(_), + Geospatial: _json, Values: (_) => se_FilledMapMeasureFieldList(_, context), }); }; @@ -16994,8 +16994,8 @@ const se_FilledMapConditionalFormattingOptionList = ( const se_FilledMapConfiguration = (input: FilledMapConfiguration, context: __SerdeContext): any => { return take(input, { FieldWells: (_) => se_FilledMapFieldWells(_, context), - Legend: (_) => _json(_), - MapStyleOptions: (_) => _json(_), + Legend: _json, + MapStyleOptions: _json, SortConfiguration: (_) => se_FilledMapSortConfiguration(_, context), Tooltip: (_) => se_TooltipOptions(_, context), WindowOptions: (_) => se_GeospatialWindowOptions(_, context), @@ -17055,8 +17055,8 @@ const se_FilledMapVisual = (input: FilledMapVisual, context: __SerdeContext): an ChartConfiguration: (_) => se_FilledMapConfiguration(_, context), ColumnHierarchies: (_) => se_ColumnHierarchyList(_, context), ConditionalFormatting: (_) => se_FilledMapConditionalFormatting(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -17066,10 +17066,10 @@ const se_FilledMapVisual = (input: FilledMapVisual, context: __SerdeContext): an */ const se_Filter = (input: Filter, context: __SerdeContext): any => { return take(input, { - CategoryFilter: (_) => _json(_), + CategoryFilter: _json, NumericEqualityFilter: (_) => se_NumericEqualityFilter(_, context), NumericRangeFilter: (_) => se_NumericRangeFilter(_, context), - RelativeDatesFilter: (_) => _json(_), + RelativeDatesFilter: _json, TimeEqualityFilter: (_) => se_TimeEqualityFilter(_, context), TimeRangeFilter: (_) => se_TimeRangeFilter(_, context), TopBottomFilter: (_) => se_TopBottomFilter(_, context), @@ -17081,13 +17081,13 @@ const se_Filter = (input: Filter, context: __SerdeContext): any => { */ const se_FilterControl = (input: FilterControl, context: __SerdeContext): any => { return take(input, { - DateTimePicker: (_) => _json(_), - Dropdown: (_) => _json(_), - List: (_) => _json(_), - RelativeDateTime: (_) => _json(_), + DateTimePicker: _json, + Dropdown: _json, + List: _json, + RelativeDateTime: _json, Slider: (_) => se_FilterSliderControl(_, context), - TextArea: (_) => _json(_), - TextField: (_) => _json(_), + TextArea: _json, + TextField: _json, }); }; @@ -17116,7 +17116,7 @@ const se_FilterGroup = (input: FilterGroup, context: __SerdeContext): any => { CrossDataset: [], FilterGroupId: [], Filters: (_) => se_FilterList(_, context), - ScopeConfiguration: (_) => _json(_), + ScopeConfiguration: _json, Status: [], }); }; @@ -17164,12 +17164,12 @@ const se_FilterList = (input: Filter[], context: __SerdeContext): any => { */ const se_FilterSliderControl = (input: FilterSliderControl, context: __SerdeContext): any => { return take(input, { - DisplayOptions: (_) => _json(_), + DisplayOptions: _json, FilterControlId: [], - MaximumValue: (_) => __serializeFloat(_), - MinimumValue: (_) => __serializeFloat(_), + MaximumValue: __serializeFloat, + MinimumValue: __serializeFloat, SourceFilterId: [], - StepSize: (_) => __serializeFloat(_), + StepSize: __serializeFloat, Title: [], Type: [], }); @@ -17202,14 +17202,14 @@ const se_ForecastComputation = (input: ForecastComputation, context: __SerdeCont return take(input, { ComputationId: [], CustomSeasonalityValue: [], - LowerBoundary: (_) => __serializeFloat(_), + LowerBoundary: __serializeFloat, Name: [], PeriodsBackward: [], PeriodsForward: [], PredictionInterval: [], Seasonality: [], - Time: (_) => _json(_), - UpperBoundary: (_) => __serializeFloat(_), + Time: _json, + UpperBoundary: __serializeFloat, Value: (_) => se_MeasureField(_, context), }); }; @@ -17268,7 +17268,7 @@ const se_ForecastScenario = (input: ForecastScenario, context: __SerdeContext): */ const se_FunnelChartAggregatedFieldWells = (input: FunnelChartAggregatedFieldWells, context: __SerdeContext): any => { return take(input, { - Category: (_) => _json(_), + Category: _json, Values: (_) => se_FunnelChartMeasureFieldList(_, context), }); }; @@ -17278,13 +17278,13 @@ const se_FunnelChartAggregatedFieldWells = (input: FunnelChartAggregatedFieldWel */ const se_FunnelChartConfiguration = (input: FunnelChartConfiguration, context: __SerdeContext): any => { return take(input, { - CategoryLabelOptions: (_) => _json(_), - DataLabelOptions: (_) => _json(_), + CategoryLabelOptions: _json, + DataLabelOptions: _json, FieldWells: (_) => se_FunnelChartFieldWells(_, context), SortConfiguration: (_) => se_FunnelChartSortConfiguration(_, context), Tooltip: (_) => se_TooltipOptions(_, context), - ValueLabelOptions: (_) => _json(_), - VisualPalette: (_) => _json(_), + ValueLabelOptions: _json, + VisualPalette: _json, }); }; @@ -17317,7 +17317,7 @@ const se_FunnelChartMeasureFieldList = (input: MeasureField[], context: __SerdeC */ const se_FunnelChartSortConfiguration = (input: FunnelChartSortConfiguration, context: __SerdeContext): any => { return take(input, { - CategoryItemsLimit: (_) => _json(_), + CategoryItemsLimit: _json, CategorySort: (_) => se_FieldSortOptionsList(_, context), }); }; @@ -17330,8 +17330,8 @@ const se_FunnelChartVisual = (input: FunnelChartVisual, context: __SerdeContext) Actions: (_) => se_VisualCustomActionList(_, context), ChartConfiguration: (_) => se_FunnelChartConfiguration(_, context), ColumnHierarchies: (_) => se_ColumnHierarchyList(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -17389,11 +17389,11 @@ const se_GaugeChartConditionalFormattingOptionList = ( */ const se_GaugeChartConfiguration = (input: GaugeChartConfiguration, context: __SerdeContext): any => { return take(input, { - DataLabels: (_) => _json(_), + DataLabels: _json, FieldWells: (_) => se_GaugeChartFieldWells(_, context), GaugeChartOptions: (_) => se_GaugeChartOptions(_, context), TooltipOptions: (_) => se_TooltipOptions(_, context), - VisualPalette: (_) => _json(_), + VisualPalette: _json, }); }; @@ -17414,9 +17414,9 @@ const se_GaugeChartOptions = (input: GaugeChartOptions, context: __SerdeContext) return take(input, { Arc: (_) => se_ArcConfiguration(_, context), ArcAxis: (_) => se_ArcAxisConfiguration(_, context), - Comparison: (_) => _json(_), + Comparison: _json, PrimaryValueDisplayType: [], - PrimaryValueFontConfiguration: (_) => _json(_), + PrimaryValueFontConfiguration: _json, }); }; @@ -17428,7 +17428,7 @@ const se_GaugeChartPrimaryValueConditionalFormatting = ( context: __SerdeContext ): any => { return take(input, { - Icon: (_) => _json(_), + Icon: _json, TextColor: (_) => se_ConditionalFormattingColor(_, context), }); }; @@ -17441,8 +17441,8 @@ const se_GaugeChartVisual = (input: GaugeChartVisual, context: __SerdeContext): Actions: (_) => se_VisualCustomActionList(_, context), ChartConfiguration: (_) => se_GaugeChartConfiguration(_, context), ConditionalFormatting: (_) => se_GaugeChartConditionalFormatting(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -17454,10 +17454,10 @@ const se_GaugeChartVisual = (input: GaugeChartVisual, context: __SerdeContext): */ const se_GeospatialCoordinateBounds = (input: GeospatialCoordinateBounds, context: __SerdeContext): any => { return take(input, { - East: (_) => __serializeFloat(_), - North: (_) => __serializeFloat(_), - South: (_) => __serializeFloat(_), - West: (_) => __serializeFloat(_), + East: __serializeFloat, + North: __serializeFloat, + South: __serializeFloat, + West: __serializeFloat, }); }; @@ -17469,8 +17469,8 @@ const se_GeospatialMapAggregatedFieldWells = ( context: __SerdeContext ): any => { return take(input, { - Colors: (_) => _json(_), - Geospatial: (_) => _json(_), + Colors: _json, + Geospatial: _json, Values: (_) => se_MeasureFieldList(_, context), }); }; @@ -17481,11 +17481,11 @@ const se_GeospatialMapAggregatedFieldWells = ( const se_GeospatialMapConfiguration = (input: GeospatialMapConfiguration, context: __SerdeContext): any => { return take(input, { FieldWells: (_) => se_GeospatialMapFieldWells(_, context), - Legend: (_) => _json(_), - MapStyleOptions: (_) => _json(_), - PointStyleOptions: (_) => _json(_), + Legend: _json, + MapStyleOptions: _json, + PointStyleOptions: _json, Tooltip: (_) => se_TooltipOptions(_, context), - VisualPalette: (_) => _json(_), + VisualPalette: _json, WindowOptions: (_) => se_GeospatialWindowOptions(_, context), }); }; @@ -17509,8 +17509,8 @@ const se_GeospatialMapVisual = (input: GeospatialMapVisual, context: __SerdeCont Actions: (_) => se_VisualCustomActionList(_, context), ChartConfiguration: (_) => se_GeospatialMapConfiguration(_, context), ColumnHierarchies: (_) => se_ColumnHierarchyList(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -17544,8 +17544,8 @@ const se_GradientColor = (input: GradientColor, context: __SerdeContext): any => const se_GradientStop = (input: GradientStop, context: __SerdeContext): any => { return take(input, { Color: [], - DataValue: (_) => __serializeFloat(_), - GradientOffset: (_) => __serializeFloat(_), + DataValue: __serializeFloat, + GradientOffset: __serializeFloat, }); }; @@ -17584,7 +17584,7 @@ const se_GrowthRateComputation = (input: GrowthRateComputation, context: __Serde ComputationId: [], Name: [], PeriodSize: [], - Time: (_) => _json(_), + Time: _json, Value: (_) => se_MeasureField(_, context), }); }; @@ -17600,8 +17600,8 @@ const se_GrowthRateComputation = (input: GrowthRateComputation, context: __Serde */ const se_HeatMapAggregatedFieldWells = (input: HeatMapAggregatedFieldWells, context: __SerdeContext): any => { return take(input, { - Columns: (_) => _json(_), - Rows: (_) => _json(_), + Columns: _json, + Rows: _json, Values: (_) => se_HeatMapMeasureFieldList(_, context), }); }; @@ -17612,11 +17612,11 @@ const se_HeatMapAggregatedFieldWells = (input: HeatMapAggregatedFieldWells, cont const se_HeatMapConfiguration = (input: HeatMapConfiguration, context: __SerdeContext): any => { return take(input, { ColorScale: (_) => se_ColorScale(_, context), - ColumnLabelOptions: (_) => _json(_), - DataLabels: (_) => _json(_), + ColumnLabelOptions: _json, + DataLabels: _json, FieldWells: (_) => se_HeatMapFieldWells(_, context), - Legend: (_) => _json(_), - RowLabelOptions: (_) => _json(_), + Legend: _json, + RowLabelOptions: _json, SortConfiguration: (_) => se_HeatMapSortConfiguration(_, context), Tooltip: (_) => se_TooltipOptions(_, context), }); @@ -17649,9 +17649,9 @@ const se_HeatMapMeasureFieldList = (input: MeasureField[], context: __SerdeConte */ const se_HeatMapSortConfiguration = (input: HeatMapSortConfiguration, context: __SerdeContext): any => { return take(input, { - HeatMapColumnItemsLimitConfiguration: (_) => _json(_), + HeatMapColumnItemsLimitConfiguration: _json, HeatMapColumnSort: (_) => se_FieldSortOptionsList(_, context), - HeatMapRowItemsLimitConfiguration: (_) => _json(_), + HeatMapRowItemsLimitConfiguration: _json, HeatMapRowSort: (_) => se_FieldSortOptionsList(_, context), }); }; @@ -17664,8 +17664,8 @@ const se_HeatMapVisual = (input: HeatMapVisual, context: __SerdeContext): any => Actions: (_) => se_VisualCustomActionList(_, context), ChartConfiguration: (_) => se_HeatMapConfiguration(_, context), ColumnHierarchies: (_) => se_ColumnHierarchyList(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -17684,10 +17684,10 @@ const se_HistogramAggregatedFieldWells = (input: HistogramAggregatedFieldWells, */ const se_HistogramBinOptions = (input: HistogramBinOptions, context: __SerdeContext): any => { return take(input, { - BinCount: (_) => _json(_), + BinCount: _json, BinWidth: (_) => se_BinWidthOptions(_, context), SelectedBinType: [], - StartValue: (_) => __serializeFloat(_), + StartValue: __serializeFloat, }); }; @@ -17697,12 +17697,12 @@ const se_HistogramBinOptions = (input: HistogramBinOptions, context: __SerdeCont const se_HistogramConfiguration = (input: HistogramConfiguration, context: __SerdeContext): any => { return take(input, { BinOptions: (_) => se_HistogramBinOptions(_, context), - DataLabels: (_) => _json(_), + DataLabels: _json, FieldWells: (_) => se_HistogramFieldWells(_, context), Tooltip: (_) => se_TooltipOptions(_, context), - VisualPalette: (_) => _json(_), + VisualPalette: _json, XAxisDisplayOptions: (_) => se_AxisDisplayOptions(_, context), - XAxisLabelOptions: (_) => _json(_), + XAxisLabelOptions: _json, YAxisDisplayOptions: (_) => se_AxisDisplayOptions(_, context), }); }; @@ -17734,8 +17734,8 @@ const se_HistogramVisual = (input: HistogramVisual, context: __SerdeContext): an return take(input, { Actions: (_) => se_VisualCustomActionList(_, context), ChartConfiguration: (_) => se_HistogramConfiguration(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -17756,7 +17756,7 @@ const se_HistogramVisual = (input: HistogramVisual, context: __SerdeContext): an const se_InsightConfiguration = (input: InsightConfiguration, context: __SerdeContext): any => { return take(input, { Computations: (_) => se_ComputationList(_, context), - CustomNarrative: (_) => _json(_), + CustomNarrative: _json, }); }; @@ -17768,8 +17768,8 @@ const se_InsightVisual = (input: InsightVisual, context: __SerdeContext): any => Actions: (_) => se_VisualCustomActionList(_, context), DataSetIdentifier: [], InsightConfiguration: (_) => se_InsightConfiguration(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -17835,7 +17835,7 @@ const se_KPIConditionalFormattingOptionList = ( const se_KPIConfiguration = (input: KPIConfiguration, context: __SerdeContext): any => { return take(input, { FieldWells: (_) => se_KPIFieldWells(_, context), - KPIOptions: (_) => _json(_), + KPIOptions: _json, SortConfiguration: (_) => se_KPISortConfiguration(_, context), }); }; @@ -17846,7 +17846,7 @@ const se_KPIConfiguration = (input: KPIConfiguration, context: __SerdeContext): const se_KPIFieldWells = (input: KPIFieldWells, context: __SerdeContext): any => { return take(input, { TargetValues: (_) => se_MeasureFieldList(_, context), - TrendGroups: (_) => _json(_), + TrendGroups: _json, Values: (_) => se_MeasureFieldList(_, context), }); }; @@ -17861,7 +17861,7 @@ const se_KPIPrimaryValueConditionalFormatting = ( context: __SerdeContext ): any => { return take(input, { - Icon: (_) => _json(_), + Icon: _json, TextColor: (_) => se_ConditionalFormattingColor(_, context), }); }; @@ -17896,8 +17896,8 @@ const se_KPIVisual = (input: KPIVisual, context: __SerdeContext): any => { ChartConfiguration: (_) => se_KPIConfiguration(_, context), ColumnHierarchies: (_) => se_ColumnHierarchyList(_, context), ConditionalFormatting: (_) => se_KPIConditionalFormatting(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -17918,8 +17918,8 @@ const se_Layout = (input: Layout, context: __SerdeContext): any => { */ const se_LayoutConfiguration = (input: LayoutConfiguration, context: __SerdeContext): any => { return take(input, { - FreeFormLayout: (_) => _json(_), - GridLayout: (_) => _json(_), + FreeFormLayout: _json, + GridLayout: _json, SectionBasedLayout: (_) => se_SectionBasedLayoutConfiguration(_, context), }); }; @@ -17942,9 +17942,9 @@ const se_LayoutList = (input: Layout[], context: __SerdeContext): any => { */ const se_LineChartAggregatedFieldWells = (input: LineChartAggregatedFieldWells, context: __SerdeContext): any => { return take(input, { - Category: (_) => _json(_), - Colors: (_) => _json(_), - SmallMultiples: (_) => _json(_), + Category: _json, + Colors: _json, + SmallMultiples: _json, Values: (_) => se_MeasureFieldList(_, context), }); }; @@ -17954,25 +17954,25 @@ const se_LineChartAggregatedFieldWells = (input: LineChartAggregatedFieldWells, */ const se_LineChartConfiguration = (input: LineChartConfiguration, context: __SerdeContext): any => { return take(input, { - ContributionAnalysisDefaults: (_) => _json(_), - DataLabels: (_) => _json(_), - DefaultSeriesSettings: (_) => _json(_), + ContributionAnalysisDefaults: _json, + DataLabels: _json, + DefaultSeriesSettings: _json, FieldWells: (_) => se_LineChartFieldWells(_, context), ForecastConfigurations: (_) => se_ForecastConfigurationList(_, context), - Legend: (_) => _json(_), + Legend: _json, PrimaryYAxisDisplayOptions: (_) => se_LineSeriesAxisDisplayOptions(_, context), - PrimaryYAxisLabelOptions: (_) => _json(_), + PrimaryYAxisLabelOptions: _json, ReferenceLines: (_) => se_ReferenceLineList(_, context), SecondaryYAxisDisplayOptions: (_) => se_LineSeriesAxisDisplayOptions(_, context), - SecondaryYAxisLabelOptions: (_) => _json(_), - Series: (_) => _json(_), - SmallMultiplesOptions: (_) => _json(_), + SecondaryYAxisLabelOptions: _json, + Series: _json, + SmallMultiplesOptions: _json, SortConfiguration: (_) => se_LineChartSortConfiguration(_, context), Tooltip: (_) => se_TooltipOptions(_, context), Type: [], - VisualPalette: (_) => _json(_), + VisualPalette: _json, XAxisDisplayOptions: (_) => se_AxisDisplayOptions(_, context), - XAxisLabelOptions: (_) => _json(_), + XAxisLabelOptions: _json, }); }; @@ -17998,10 +17998,10 @@ const se_LineChartFieldWells = (input: LineChartFieldWells, context: __SerdeCont */ const se_LineChartSortConfiguration = (input: LineChartSortConfiguration, context: __SerdeContext): any => { return take(input, { - CategoryItemsLimitConfiguration: (_) => _json(_), + CategoryItemsLimitConfiguration: _json, CategorySort: (_) => se_FieldSortOptionsList(_, context), - ColorItemsLimitConfiguration: (_) => _json(_), - SmallMultiplesLimitConfiguration: (_) => _json(_), + ColorItemsLimitConfiguration: _json, + SmallMultiplesLimitConfiguration: _json, SmallMultiplesSort: (_) => se_FieldSortOptionsList(_, context), }); }; @@ -18014,8 +18014,8 @@ const se_LineChartVisual = (input: LineChartVisual, context: __SerdeContext): an Actions: (_) => se_VisualCustomActionList(_, context), ChartConfiguration: (_) => se_LineChartConfiguration(_, context), ColumnHierarchies: (_) => se_ColumnHierarchyList(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -18026,7 +18026,7 @@ const se_LineChartVisual = (input: LineChartVisual, context: __SerdeContext): an const se_LineSeriesAxisDisplayOptions = (input: LineSeriesAxisDisplayOptions, context: __SerdeContext): any => { return take(input, { AxisOptions: (_) => se_AxisDisplayOptions(_, context), - MissingDataConfigurations: (_) => _json(_), + MissingDataConfigurations: _json, }); }; @@ -18065,7 +18065,7 @@ const se_MaximumMinimumComputation = (input: MaximumMinimumComputation, context: return take(input, { ComputationId: [], Name: [], - Time: (_) => _json(_), + Time: _json, Type: [], Value: (_) => se_MeasureField(_, context), }); @@ -18076,9 +18076,9 @@ const se_MaximumMinimumComputation = (input: MaximumMinimumComputation, context: */ const se_MeasureField = (input: MeasureField, context: __SerdeContext): any => { return take(input, { - CalculatedMeasureField: (_) => _json(_), - CategoricalMeasureField: (_) => _json(_), - DateMeasureField: (_) => _json(_), + CalculatedMeasureField: _json, + CategoricalMeasureField: _json, + DateMeasureField: _json, NumericalMeasureField: (_) => se_NumericalMeasureField(_, context), }); }; @@ -18103,7 +18103,7 @@ const se_MetricComparisonComputation = (input: MetricComparisonComputation, cont FromValue: (_) => se_MeasureField(_, context), Name: [], TargetValue: (_) => se_MeasureField(_, context), - Time: (_) => _json(_), + Time: _json, }); }; @@ -18141,9 +18141,9 @@ const se_NumericalAggregationFunction = (input: NumericalAggregationFunction, co const se_NumericalMeasureField = (input: NumericalMeasureField, context: __SerdeContext): any => { return take(input, { AggregationFunction: (_) => se_NumericalAggregationFunction(_, context), - Column: (_) => _json(_), + Column: _json, FieldId: [], - FormatConfiguration: (_) => _json(_), + FormatConfiguration: _json, }); }; @@ -18162,8 +18162,8 @@ const se_NumericAxisOptions = (input: NumericAxisOptions, context: __SerdeContex */ const se_NumericEqualityDrillDownFilter = (input: NumericEqualityDrillDownFilter, context: __SerdeContext): any => { return take(input, { - Column: (_) => _json(_), - Value: (_) => __serializeFloat(_), + Column: _json, + Value: __serializeFloat, }); }; @@ -18173,13 +18173,13 @@ const se_NumericEqualityDrillDownFilter = (input: NumericEqualityDrillDownFilter const se_NumericEqualityFilter = (input: NumericEqualityFilter, context: __SerdeContext): any => { return take(input, { AggregationFunction: (_) => se_AggregationFunction(_, context), - Column: (_) => _json(_), + Column: _json, FilterId: [], MatchOperator: [], NullOption: [], ParameterName: [], SelectAllOptions: [], - Value: (_) => __serializeFloat(_), + Value: __serializeFloat, }); }; @@ -18191,7 +18191,7 @@ const se_NumericEqualityFilter = (input: NumericEqualityFilter, context: __Serde const se_NumericRangeFilter = (input: NumericRangeFilter, context: __SerdeContext): any => { return take(input, { AggregationFunction: (_) => se_AggregationFunction(_, context), - Column: (_) => _json(_), + Column: _json, FilterId: [], IncludeMaximum: [], IncludeMinimum: [], @@ -18208,7 +18208,7 @@ const se_NumericRangeFilter = (input: NumericRangeFilter, context: __SerdeContex const se_NumericRangeFilterValue = (input: NumericRangeFilterValue, context: __SerdeContext): any => { return take(input, { Parameter: [], - StaticValue: (_) => __serializeFloat(_), + StaticValue: __serializeFloat, }); }; @@ -18227,12 +18227,12 @@ const se_NumericRangeFilterValue = (input: NumericRangeFilterValue, context: __S */ const se_ParameterControl = (input: ParameterControl, context: __SerdeContext): any => { return take(input, { - DateTimePicker: (_) => _json(_), - Dropdown: (_) => _json(_), - List: (_) => _json(_), + DateTimePicker: _json, + Dropdown: _json, + List: _json, Slider: (_) => se_ParameterSliderControl(_, context), - TextArea: (_) => _json(_), - TextField: (_) => _json(_), + TextArea: _json, + TextField: _json, }); }; @@ -18256,8 +18256,8 @@ const se_ParameterDeclaration = (input: ParameterDeclaration, context: __SerdeCo return take(input, { DateTimeParameterDeclaration: (_) => se_DateTimeParameterDeclaration(_, context), DecimalParameterDeclaration: (_) => se_DecimalParameterDeclaration(_, context), - IntegerParameterDeclaration: (_) => _json(_), - StringParameterDeclaration: (_) => _json(_), + IntegerParameterDeclaration: _json, + StringParameterDeclaration: _json, }); }; @@ -18283,8 +18283,8 @@ const se__Parameters = (input: _Parameters, context: __SerdeContext): any => { return take(input, { DateTimeParameters: (_) => se_DateTimeParameterList(_, context), DecimalParameters: (_) => se_DecimalParameterList(_, context), - IntegerParameters: (_) => _json(_), - StringParameters: (_) => _json(_), + IntegerParameters: _json, + StringParameters: _json, }); }; @@ -18297,12 +18297,12 @@ const se__Parameters = (input: _Parameters, context: __SerdeContext): any => { */ const se_ParameterSliderControl = (input: ParameterSliderControl, context: __SerdeContext): any => { return take(input, { - DisplayOptions: (_) => _json(_), - MaximumValue: (_) => __serializeFloat(_), - MinimumValue: (_) => __serializeFloat(_), + DisplayOptions: _json, + MaximumValue: __serializeFloat, + MinimumValue: __serializeFloat, ParameterControlId: [], SourceParameterName: [], - StepSize: (_) => __serializeFloat(_), + StepSize: __serializeFloat, Title: [], }); }; @@ -18318,7 +18318,7 @@ const se_ParameterSliderControl = (input: ParameterSliderControl, context: __Ser */ const se_PercentileAggregation = (input: PercentileAggregation, context: __SerdeContext): any => { return take(input, { - PercentileValue: (_) => __serializeFloat(_), + PercentileValue: __serializeFloat, }); }; @@ -18327,8 +18327,8 @@ const se_PercentileAggregation = (input: PercentileAggregation, context: __Serde */ const se_PercentVisibleRange = (input: PercentVisibleRange, context: __SerdeContext): any => { return take(input, { - From: (_) => __serializeFloat(_), - To: (_) => __serializeFloat(_), + From: __serializeFloat, + To: __serializeFloat, }); }; @@ -18339,7 +18339,7 @@ const se_PeriodOverPeriodComputation = (input: PeriodOverPeriodComputation, cont return take(input, { ComputationId: [], Name: [], - Time: (_) => _json(_), + Time: _json, Value: (_) => se_MeasureField(_, context), }); }; @@ -18352,7 +18352,7 @@ const se_PeriodToDateComputation = (input: PeriodToDateComputation, context: __S ComputationId: [], Name: [], PeriodTimeGranularity: [], - Time: (_) => _json(_), + Time: _json, Value: (_) => se_MeasureField(_, context), }); }; @@ -18366,8 +18366,8 @@ const se_PeriodToDateComputation = (input: PeriodToDateComputation, context: __S */ const se_PieChartAggregatedFieldWells = (input: PieChartAggregatedFieldWells, context: __SerdeContext): any => { return take(input, { - Category: (_) => _json(_), - SmallMultiples: (_) => _json(_), + Category: _json, + SmallMultiples: _json, Values: (_) => se_MeasureFieldList(_, context), }); }; @@ -18377,17 +18377,17 @@ const se_PieChartAggregatedFieldWells = (input: PieChartAggregatedFieldWells, co */ const se_PieChartConfiguration = (input: PieChartConfiguration, context: __SerdeContext): any => { return take(input, { - CategoryLabelOptions: (_) => _json(_), - ContributionAnalysisDefaults: (_) => _json(_), - DataLabels: (_) => _json(_), - DonutOptions: (_) => _json(_), + CategoryLabelOptions: _json, + ContributionAnalysisDefaults: _json, + DataLabels: _json, + DonutOptions: _json, FieldWells: (_) => se_PieChartFieldWells(_, context), - Legend: (_) => _json(_), - SmallMultiplesOptions: (_) => _json(_), + Legend: _json, + SmallMultiplesOptions: _json, SortConfiguration: (_) => se_PieChartSortConfiguration(_, context), Tooltip: (_) => se_TooltipOptions(_, context), - ValueLabelOptions: (_) => _json(_), - VisualPalette: (_) => _json(_), + ValueLabelOptions: _json, + VisualPalette: _json, }); }; @@ -18405,9 +18405,9 @@ const se_PieChartFieldWells = (input: PieChartFieldWells, context: __SerdeContex */ const se_PieChartSortConfiguration = (input: PieChartSortConfiguration, context: __SerdeContext): any => { return take(input, { - CategoryItemsLimit: (_) => _json(_), + CategoryItemsLimit: _json, CategorySort: (_) => se_FieldSortOptionsList(_, context), - SmallMultiplesLimitConfiguration: (_) => _json(_), + SmallMultiplesLimitConfiguration: _json, SmallMultiplesSort: (_) => se_FieldSortOptionsList(_, context), }); }; @@ -18420,8 +18420,8 @@ const se_PieChartVisual = (input: PieChartVisual, context: __SerdeContext): any Actions: (_) => se_VisualCustomActionList(_, context), ChartConfiguration: (_) => se_PieChartConfiguration(_, context), ColumnHierarchies: (_) => se_ColumnHierarchyList(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -18463,8 +18463,8 @@ const se_PivotMeasureFieldList = (input: MeasureField[], context: __SerdeContext */ const se_PivotTableAggregatedFieldWells = (input: PivotTableAggregatedFieldWells, context: __SerdeContext): any => { return take(input, { - Columns: (_) => _json(_), - Rows: (_) => _json(_), + Columns: _json, + Rows: _json, Values: (_) => se_PivotMeasureFieldList(_, context), }); }; @@ -18478,7 +18478,7 @@ const se_PivotTableCellConditionalFormatting = ( ): any => { return take(input, { FieldId: [], - Scope: (_) => _json(_), + Scope: _json, TextFormat: (_) => se_TextConditionalFormat(_, context), }); }; @@ -18525,12 +18525,12 @@ const se_PivotTableConditionalFormattingOptionList = ( */ const se_PivotTableConfiguration = (input: PivotTableConfiguration, context: __SerdeContext): any => { return take(input, { - FieldOptions: (_) => _json(_), + FieldOptions: _json, FieldWells: (_) => se_PivotTableFieldWells(_, context), - PaginatedReportOptions: (_) => _json(_), + PaginatedReportOptions: _json, SortConfiguration: (_) => se_PivotTableSortConfiguration(_, context), - TableOptions: (_) => _json(_), - TotalOptions: (_) => _json(_), + TableOptions: _json, + TotalOptions: _json, }); }; @@ -18569,8 +18569,8 @@ const se_PivotTableFieldWells = (input: PivotTableFieldWells, context: __SerdeCo const se_PivotTableSortBy = (input: PivotTableSortBy, context: __SerdeContext): any => { return take(input, { Column: (_) => se_ColumnSort(_, context), - DataPath: (_) => _json(_), - Field: (_) => _json(_), + DataPath: _json, + Field: _json, }); }; @@ -18593,8 +18593,8 @@ const se_PivotTableVisual = (input: PivotTableVisual, context: __SerdeContext): Actions: (_) => se_VisualCustomActionList(_, context), ChartConfiguration: (_) => se_PivotTableConfiguration(_, context), ConditionalFormatting: (_) => se_PivotTableConditionalFormatting(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -18608,7 +18608,7 @@ const se_PivotTableVisual = (input: PivotTableVisual, context: __SerdeContext): */ const se_PredefinedHierarchy = (input: PredefinedHierarchy, context: __SerdeContext): any => { return take(input, { - Columns: (_) => _json(_), + Columns: _json, DrillDownFilters: (_) => se_DrillDownFilterList(_, context), HierarchyId: [], }); @@ -18631,8 +18631,8 @@ const se_PredefinedHierarchy = (input: PredefinedHierarchy, context: __SerdeCont */ const se_RadarChartAggregatedFieldWells = (input: RadarChartAggregatedFieldWells, context: __SerdeContext): any => { return take(input, { - Category: (_) => _json(_), - Color: (_) => _json(_), + Category: _json, + Color: _json, Values: (_) => se_RadarChartValuesFieldList(_, context), }); }; @@ -18651,17 +18651,17 @@ const se_RadarChartConfiguration = (input: RadarChartConfiguration, context: __S AlternateBandColorsVisibility: [], AlternateBandEvenColor: [], AlternateBandOddColor: [], - BaseSeriesSettings: (_) => _json(_), + BaseSeriesSettings: _json, CategoryAxis: (_) => se_AxisDisplayOptions(_, context), - CategoryLabelOptions: (_) => _json(_), + CategoryLabelOptions: _json, ColorAxis: (_) => se_AxisDisplayOptions(_, context), - ColorLabelOptions: (_) => _json(_), + ColorLabelOptions: _json, FieldWells: (_) => se_RadarChartFieldWells(_, context), - Legend: (_) => _json(_), + Legend: _json, Shape: [], SortConfiguration: (_) => se_RadarChartSortConfiguration(_, context), - StartAngle: (_) => __serializeFloat(_), - VisualPalette: (_) => _json(_), + StartAngle: __serializeFloat, + VisualPalette: _json, }); }; @@ -18681,9 +18681,9 @@ const se_RadarChartFieldWells = (input: RadarChartFieldWells, context: __SerdeCo */ const se_RadarChartSortConfiguration = (input: RadarChartSortConfiguration, context: __SerdeContext): any => { return take(input, { - CategoryItemsLimit: (_) => _json(_), + CategoryItemsLimit: _json, CategorySort: (_) => se_FieldSortOptionsList(_, context), - ColorItemsLimit: (_) => _json(_), + ColorItemsLimit: _json, ColorSort: (_) => se_FieldSortOptionsList(_, context), }); }; @@ -18707,8 +18707,8 @@ const se_RadarChartVisual = (input: RadarChartVisual, context: __SerdeContext): Actions: (_) => se_VisualCustomActionList(_, context), ChartConfiguration: (_) => se_RadarChartConfiguration(_, context), ColumnHierarchies: (_) => se_ColumnHierarchyList(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -18725,9 +18725,9 @@ const se_RadarChartVisual = (input: RadarChartVisual, context: __SerdeContext): const se_ReferenceLine = (input: ReferenceLine, context: __SerdeContext): any => { return take(input, { DataConfiguration: (_) => se_ReferenceLineDataConfiguration(_, context), - LabelConfiguration: (_) => _json(_), + LabelConfiguration: _json, Status: [], - StyleConfiguration: (_) => _json(_), + StyleConfiguration: _json, }); }; @@ -18753,7 +18753,7 @@ const se_ReferenceLineDynamicDataConfiguration = ( ): any => { return take(input, { Calculation: (_) => se_NumericalAggregationFunction(_, context), - Column: (_) => _json(_), + Column: _json, MeasureAggregationFunction: (_) => se_AggregationFunction(_, context), }); }; @@ -18779,7 +18779,7 @@ const se_ReferenceLineStaticDataConfiguration = ( context: __SerdeContext ): any => { return take(input, { - Value: (_) => __serializeFloat(_), + Value: __serializeFloat, }); }; @@ -18798,7 +18798,7 @@ const se_RefreshSchedule = (input: RefreshSchedule, context: __SerdeContext): an return take(input, { Arn: [], RefreshType: [], - ScheduleFrequency: (_) => _json(_), + ScheduleFrequency: _json, ScheduleId: [], StartAfterDateTime: (_) => Math.round(_.getTime() / 1000), }); @@ -18873,8 +18873,8 @@ const se_SankeyDiagramAggregatedFieldWells = ( context: __SerdeContext ): any => { return take(input, { - Destination: (_) => _json(_), - Source: (_) => _json(_), + Destination: _json, + Source: _json, Weight: (_) => se_MeasureFieldList(_, context), }); }; @@ -18884,7 +18884,7 @@ const se_SankeyDiagramAggregatedFieldWells = ( */ const se_SankeyDiagramChartConfiguration = (input: SankeyDiagramChartConfiguration, context: __SerdeContext): any => { return take(input, { - DataLabels: (_) => _json(_), + DataLabels: _json, FieldWells: (_) => se_SankeyDiagramFieldWells(_, context), SortConfiguration: (_) => se_SankeyDiagramSortConfiguration(_, context), }); @@ -18904,8 +18904,8 @@ const se_SankeyDiagramFieldWells = (input: SankeyDiagramFieldWells, context: __S */ const se_SankeyDiagramSortConfiguration = (input: SankeyDiagramSortConfiguration, context: __SerdeContext): any => { return take(input, { - DestinationItemsLimit: (_) => _json(_), - SourceItemsLimit: (_) => _json(_), + DestinationItemsLimit: _json, + SourceItemsLimit: _json, WeightSort: (_) => se_FieldSortOptionsList(_, context), }); }; @@ -18917,8 +18917,8 @@ const se_SankeyDiagramVisual = (input: SankeyDiagramVisual, context: __SerdeCont return take(input, { Actions: (_) => se_VisualCustomActionList(_, context), ChartConfiguration: (_) => se_SankeyDiagramChartConfiguration(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -18931,7 +18931,7 @@ const se_ScatterPlotCategoricallyAggregatedFieldWells = ( context: __SerdeContext ): any => { return take(input, { - Category: (_) => _json(_), + Category: _json, Size: (_) => se_MeasureFieldList(_, context), XAxis: (_) => se_MeasureFieldList(_, context), YAxis: (_) => se_MeasureFieldList(_, context), @@ -18943,15 +18943,15 @@ const se_ScatterPlotCategoricallyAggregatedFieldWells = ( */ const se_ScatterPlotConfiguration = (input: ScatterPlotConfiguration, context: __SerdeContext): any => { return take(input, { - DataLabels: (_) => _json(_), + DataLabels: _json, FieldWells: (_) => se_ScatterPlotFieldWells(_, context), - Legend: (_) => _json(_), + Legend: _json, Tooltip: (_) => se_TooltipOptions(_, context), - VisualPalette: (_) => _json(_), + VisualPalette: _json, XAxisDisplayOptions: (_) => se_AxisDisplayOptions(_, context), - XAxisLabelOptions: (_) => _json(_), + XAxisLabelOptions: _json, YAxisDisplayOptions: (_) => se_AxisDisplayOptions(_, context), - YAxisLabelOptions: (_) => _json(_), + YAxisLabelOptions: _json, }); }; @@ -18974,8 +18974,8 @@ const se_ScatterPlotUnaggregatedFieldWells = ( ): any => { return take(input, { Size: (_) => se_MeasureFieldList(_, context), - XAxis: (_) => _json(_), - YAxis: (_) => _json(_), + XAxis: _json, + YAxis: _json, }); }; @@ -18987,8 +18987,8 @@ const se_ScatterPlotVisual = (input: ScatterPlotVisual, context: __SerdeContext) Actions: (_) => se_VisualCustomActionList(_, context), ChartConfiguration: (_) => se_ScatterPlotConfiguration(_, context), ColumnHierarchies: (_) => se_ColumnHierarchyList(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -19016,10 +19016,10 @@ const se_ScrollBarOptions = (input: ScrollBarOptions, context: __SerdeContext): */ const se_SectionBasedLayoutConfiguration = (input: SectionBasedLayoutConfiguration, context: __SerdeContext): any => { return take(input, { - BodySections: (_) => _json(_), - CanvasSizeOptions: (_) => _json(_), - FooterSections: (_) => _json(_), - HeaderSections: (_) => _json(_), + BodySections: _json, + CanvasSizeOptions: _json, + FooterSections: _json, + HeaderSections: _json, }); }; @@ -19123,9 +19123,9 @@ const se_SheetDefinition = (input: SheetDefinition, context: __SerdeContext): an Layouts: (_) => se_LayoutList(_, context), Name: [], ParameterControls: (_) => se_ParameterControlList(_, context), - SheetControlLayouts: (_) => _json(_), + SheetControlLayouts: _json, SheetId: [], - TextBoxes: (_) => _json(_), + TextBoxes: _json, Title: [], Visuals: (_) => se_VisualList(_, context), }); @@ -19205,7 +19205,7 @@ const se_SheetDefinitionList = (input: SheetDefinition[], context: __SerdeContex */ const se_TableAggregatedFieldWells = (input: TableAggregatedFieldWells, context: __SerdeContext): any => { return take(input, { - GroupBy: (_) => _json(_), + GroupBy: _json, Values: (_) => se_MeasureFieldList(_, context), }); }; @@ -19264,13 +19264,13 @@ const se_TableConditionalFormattingOptionList = ( */ const se_TableConfiguration = (input: TableConfiguration, context: __SerdeContext): any => { return take(input, { - FieldOptions: (_) => _json(_), + FieldOptions: _json, FieldWells: (_) => se_TableFieldWells(_, context), - PaginatedReportOptions: (_) => _json(_), + PaginatedReportOptions: _json, SortConfiguration: (_) => se_TableSortConfiguration(_, context), - TableInlineVisualizations: (_) => _json(_), - TableOptions: (_) => _json(_), - TotalOptions: (_) => _json(_), + TableInlineVisualizations: _json, + TableOptions: _json, + TotalOptions: _json, }); }; @@ -19298,7 +19298,7 @@ const se_TableConfiguration = (input: TableConfiguration, context: __SerdeContex const se_TableFieldWells = (input: TableFieldWells, context: __SerdeContext): any => { return take(input, { TableAggregatedFieldWells: (_) => se_TableAggregatedFieldWells(_, context), - TableUnaggregatedFieldWells: (_) => _json(_), + TableUnaggregatedFieldWells: _json, }); }; @@ -19327,7 +19327,7 @@ const se_TableRowConditionalFormatting = (input: TableRowConditionalFormatting, */ const se_TableSortConfiguration = (input: TableSortConfiguration, context: __SerdeContext): any => { return take(input, { - PaginationConfiguration: (_) => _json(_), + PaginationConfiguration: _json, RowSort: (_) => se_RowSortList(_, context), }); }; @@ -19342,8 +19342,8 @@ const se_TableVisual = (input: TableVisual, context: __SerdeContext): any => { Actions: (_) => se_VisualCustomActionList(_, context), ChartConfiguration: (_) => se_TableConfiguration(_, context), ConditionalFormatting: (_) => se_TableConditionalFormatting(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -19367,10 +19367,10 @@ const se_TableVisual = (input: TableVisual, context: __SerdeContext): any => { */ const se_TemplateVersionDefinition = (input: TemplateVersionDefinition, context: __SerdeContext): any => { return take(input, { - AnalysisDefaults: (_) => _json(_), - CalculatedFields: (_) => _json(_), - ColumnConfigurations: (_) => _json(_), - DataSetConfigurations: (_) => _json(_), + AnalysisDefaults: _json, + CalculatedFields: _json, + ColumnConfigurations: _json, + DataSetConfigurations: _json, FilterGroups: (_) => se_FilterGroupList(_, context), ParameterDeclarations: (_) => se_ParameterDeclarationList(_, context), Sheets: (_) => se_SheetDefinitionList(_, context), @@ -19387,7 +19387,7 @@ const se_TemplateVersionDefinition = (input: TemplateVersionDefinition, context: const se_TextConditionalFormat = (input: TextConditionalFormat, context: __SerdeContext): any => { return take(input, { BackgroundColor: (_) => se_ConditionalFormattingColor(_, context), - Icon: (_) => _json(_), + Icon: _json, TextColor: (_) => se_ConditionalFormattingColor(_, context), }); }; @@ -19409,12 +19409,12 @@ const se_TextConditionalFormat = (input: TextConditionalFormat, context: __Serde */ const se_TimeBasedForecastProperties = (input: TimeBasedForecastProperties, context: __SerdeContext): any => { return take(input, { - LowerBoundary: (_) => __serializeFloat(_), + LowerBoundary: __serializeFloat, PeriodsBackward: [], PeriodsForward: [], PredictionInterval: [], Seasonality: [], - UpperBoundary: (_) => __serializeFloat(_), + UpperBoundary: __serializeFloat, }); }; @@ -19423,7 +19423,7 @@ const se_TimeBasedForecastProperties = (input: TimeBasedForecastProperties, cont */ const se_TimeEqualityFilter = (input: TimeEqualityFilter, context: __SerdeContext): any => { return take(input, { - Column: (_) => _json(_), + Column: _json, FilterId: [], ParameterName: [], TimeGranularity: [], @@ -19436,7 +19436,7 @@ const se_TimeEqualityFilter = (input: TimeEqualityFilter, context: __SerdeContex */ const se_TimeRangeDrillDownFilter = (input: TimeRangeDrillDownFilter, context: __SerdeContext): any => { return take(input, { - Column: (_) => _json(_), + Column: _json, RangeMaximum: (_) => Math.round(_.getTime() / 1000), RangeMinimum: (_) => Math.round(_.getTime() / 1000), TimeGranularity: [], @@ -19448,8 +19448,8 @@ const se_TimeRangeDrillDownFilter = (input: TimeRangeDrillDownFilter, context: _ */ const se_TimeRangeFilter = (input: TimeRangeFilter, context: __SerdeContext): any => { return take(input, { - Column: (_) => _json(_), - ExcludePeriodConfiguration: (_) => _json(_), + Column: _json, + ExcludePeriodConfiguration: _json, FilterId: [], IncludeMaximum: [], IncludeMinimum: [], @@ -19466,7 +19466,7 @@ const se_TimeRangeFilter = (input: TimeRangeFilter, context: __SerdeContext): an const se_TimeRangeFilterValue = (input: TimeRangeFilterValue, context: __SerdeContext): any => { return take(input, { Parameter: [], - RollingDate: (_) => _json(_), + RollingDate: _json, StaticValue: (_) => Math.round(_.getTime() / 1000), }); }; @@ -19477,7 +19477,7 @@ const se_TimeRangeFilterValue = (input: TimeRangeFilterValue, context: __SerdeCo const se_TooltipItem = (input: TooltipItem, context: __SerdeContext): any => { return take(input, { ColumnTooltipItem: (_) => se_ColumnTooltipItem(_, context), - FieldTooltipItem: (_) => _json(_), + FieldTooltipItem: _json, }); }; @@ -19509,7 +19509,7 @@ const se_TooltipOptions = (input: TooltipOptions, context: __SerdeContext): any const se_TopBottomFilter = (input: TopBottomFilter, context: __SerdeContext): any => { return take(input, { AggregationSortConfigurations: (_) => se_AggregationSortConfigurationList(_, context), - Column: (_) => _json(_), + Column: _json, FilterId: [], Limit: [], ParameterName: [], @@ -19522,12 +19522,12 @@ const se_TopBottomFilter = (input: TopBottomFilter, context: __SerdeContext): an */ const se_TopBottomMoversComputation = (input: TopBottomMoversComputation, context: __SerdeContext): any => { return take(input, { - Category: (_) => _json(_), + Category: _json, ComputationId: [], MoverSize: [], Name: [], SortOrder: [], - Time: (_) => _json(_), + Time: _json, Type: [], Value: (_) => se_MeasureField(_, context), }); @@ -19538,7 +19538,7 @@ const se_TopBottomMoversComputation = (input: TopBottomMoversComputation, contex */ const se_TopBottomRankedComputation = (input: TopBottomRankedComputation, context: __SerdeContext): any => { return take(input, { - Category: (_) => _json(_), + Category: _json, ComputationId: [], Name: [], ResultSize: [], @@ -19570,7 +19570,7 @@ const se_TotalAggregationComputation = (input: TotalAggregationComputation, cont const se_TreeMapAggregatedFieldWells = (input: TreeMapAggregatedFieldWells, context: __SerdeContext): any => { return take(input, { Colors: (_) => se_TreeMapMeasureFieldList(_, context), - Groups: (_) => _json(_), + Groups: _json, Sizes: (_) => se_TreeMapMeasureFieldList(_, context), }); }; @@ -19580,13 +19580,13 @@ const se_TreeMapAggregatedFieldWells = (input: TreeMapAggregatedFieldWells, cont */ const se_TreeMapConfiguration = (input: TreeMapConfiguration, context: __SerdeContext): any => { return take(input, { - ColorLabelOptions: (_) => _json(_), + ColorLabelOptions: _json, ColorScale: (_) => se_ColorScale(_, context), - DataLabels: (_) => _json(_), + DataLabels: _json, FieldWells: (_) => se_TreeMapFieldWells(_, context), - GroupLabelOptions: (_) => _json(_), - Legend: (_) => _json(_), - SizeLabelOptions: (_) => _json(_), + GroupLabelOptions: _json, + Legend: _json, + SizeLabelOptions: _json, SortConfiguration: (_) => se_TreeMapSortConfiguration(_, context), Tooltip: (_) => se_TooltipOptions(_, context), }); @@ -19619,7 +19619,7 @@ const se_TreeMapMeasureFieldList = (input: MeasureField[], context: __SerdeConte */ const se_TreeMapSortConfiguration = (input: TreeMapSortConfiguration, context: __SerdeContext): any => { return take(input, { - TreeMapGroupItemsLimitConfiguration: (_) => _json(_), + TreeMapGroupItemsLimitConfiguration: _json, TreeMapSort: (_) => se_FieldSortOptionsList(_, context), }); }; @@ -19632,8 +19632,8 @@ const se_TreeMapVisual = (input: TreeMapVisual, context: __SerdeContext): any => Actions: (_) => se_VisualCustomActionList(_, context), ChartConfiguration: (_) => se_TreeMapConfiguration(_, context), ColumnHierarchies: (_) => se_ColumnHierarchyList(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -19731,10 +19731,10 @@ const se_VisualCustomActionList = (input: VisualCustomAction[], context: __Serde */ const se_VisualCustomActionOperation = (input: VisualCustomActionOperation, context: __SerdeContext): any => { return take(input, { - FilterOperation: (_) => _json(_), - NavigationOperation: (_) => _json(_), + FilterOperation: _json, + NavigationOperation: _json, SetParametersOperation: (_) => se_CustomActionSetParametersOperation(_, context), - URLOperation: (_) => _json(_), + URLOperation: _json, }); }; @@ -19778,8 +19778,8 @@ const se_WaterfallChartAggregatedFieldWells = ( context: __SerdeContext ): any => { return take(input, { - Breakdowns: (_) => _json(_), - Categories: (_) => _json(_), + Breakdowns: _json, + Categories: _json, Values: (_) => se_MeasureFieldList(_, context), }); }; @@ -19790,15 +19790,15 @@ const se_WaterfallChartAggregatedFieldWells = ( const se_WaterfallChartConfiguration = (input: WaterfallChartConfiguration, context: __SerdeContext): any => { return take(input, { CategoryAxisDisplayOptions: (_) => se_AxisDisplayOptions(_, context), - CategoryAxisLabelOptions: (_) => _json(_), - DataLabels: (_) => _json(_), + CategoryAxisLabelOptions: _json, + DataLabels: _json, FieldWells: (_) => se_WaterfallChartFieldWells(_, context), - Legend: (_) => _json(_), + Legend: _json, PrimaryYAxisDisplayOptions: (_) => se_AxisDisplayOptions(_, context), - PrimaryYAxisLabelOptions: (_) => _json(_), + PrimaryYAxisLabelOptions: _json, SortConfiguration: (_) => se_WaterfallChartSortConfiguration(_, context), - VisualPalette: (_) => _json(_), - WaterfallChartOptions: (_) => _json(_), + VisualPalette: _json, + WaterfallChartOptions: _json, }); }; @@ -19818,7 +19818,7 @@ const se_WaterfallChartFieldWells = (input: WaterfallChartFieldWells, context: _ */ const se_WaterfallChartSortConfiguration = (input: WaterfallChartSortConfiguration, context: __SerdeContext): any => { return take(input, { - BreakdownItemsLimit: (_) => _json(_), + BreakdownItemsLimit: _json, CategorySort: (_) => se_FieldSortOptionsList(_, context), }); }; @@ -19831,8 +19831,8 @@ const se_WaterfallVisual = (input: WaterfallVisual, context: __SerdeContext): an Actions: (_) => se_VisualCustomActionList(_, context), ChartConfiguration: (_) => se_WaterfallChartConfiguration(_, context), ColumnHierarchies: (_) => se_ColumnHierarchyList(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; @@ -19843,7 +19843,7 @@ const se_WaterfallVisual = (input: WaterfallVisual, context: __SerdeContext): an const se_WhatIfPointScenario = (input: WhatIfPointScenario, context: __SerdeContext): any => { return take(input, { Date: (_) => Math.round(_.getTime() / 1000), - Value: (_) => __serializeFloat(_), + Value: __serializeFloat, }); }; @@ -19854,7 +19854,7 @@ const se_WhatIfRangeScenario = (input: WhatIfRangeScenario, context: __SerdeCont return take(input, { EndDate: (_) => Math.round(_.getTime() / 1000), StartDate: (_) => Math.round(_.getTime() / 1000), - Value: (_) => __serializeFloat(_), + Value: __serializeFloat, }); }; @@ -19863,7 +19863,7 @@ const se_WhatIfRangeScenario = (input: WhatIfRangeScenario, context: __SerdeCont */ const se_WordCloudAggregatedFieldWells = (input: WordCloudAggregatedFieldWells, context: __SerdeContext): any => { return take(input, { - GroupBy: (_) => _json(_), + GroupBy: _json, Size: (_) => se_WordCloudMeasureFieldList(_, context), }); }; @@ -19873,10 +19873,10 @@ const se_WordCloudAggregatedFieldWells = (input: WordCloudAggregatedFieldWells, */ const se_WordCloudChartConfiguration = (input: WordCloudChartConfiguration, context: __SerdeContext): any => { return take(input, { - CategoryLabelOptions: (_) => _json(_), + CategoryLabelOptions: _json, FieldWells: (_) => se_WordCloudFieldWells(_, context), SortConfiguration: (_) => se_WordCloudSortConfiguration(_, context), - WordCloudOptions: (_) => _json(_), + WordCloudOptions: _json, }); }; @@ -19909,7 +19909,7 @@ const se_WordCloudMeasureFieldList = (input: MeasureField[], context: __SerdeCon */ const se_WordCloudSortConfiguration = (input: WordCloudSortConfiguration, context: __SerdeContext): any => { return take(input, { - CategoryItemsLimit: (_) => _json(_), + CategoryItemsLimit: _json, CategorySort: (_) => se_FieldSortOptionsList(_, context), }); }; @@ -19922,8 +19922,8 @@ const se_WordCloudVisual = (input: WordCloudVisual, context: __SerdeContext): an Actions: (_) => se_VisualCustomActionList(_, context), ChartConfiguration: (_) => se_WordCloudChartConfiguration(_, context), ColumnHierarchies: (_) => se_ColumnHierarchyList(_, context), - Subtitle: (_) => _json(_), - Title: (_) => _json(_), + Subtitle: _json, + Title: _json, VisualId: [], }); }; diff --git a/clients/client-redshift-data/src/protocols/Aws_json1_1.ts b/clients/client-redshift-data/src/protocols/Aws_json1_1.ts index 05e6f086d1084..b4bf398b06cfc 100644 --- a/clients/client-redshift-data/src/protocols/Aws_json1_1.ts +++ b/clients/client-redshift-data/src/protocols/Aws_json1_1.ts @@ -834,7 +834,7 @@ const se_BatchExecuteStatementInput = (input: BatchExecuteStatementInput, contex Database: [], DbUser: [], SecretArn: [], - Sqls: (_) => _json(_), + Sqls: _json, StatementName: [], WithEvent: [], WorkgroupName: [], @@ -856,7 +856,7 @@ const se_ExecuteStatementInput = (input: ExecuteStatementInput, context: __Serde ClusterIdentifier: [], Database: [], DbUser: [], - Parameters: (_) => _json(_), + Parameters: _json, SecretArn: [], Sql: [], StatementName: [], diff --git a/clients/client-rekognition/src/protocols/Aws_json1_1.ts b/clients/client-rekognition/src/protocols/Aws_json1_1.ts index 968650c32b283..d1f9501248956 100644 --- a/clients/client-rekognition/src/protocols/Aws_json1_1.ts +++ b/clients/client-rekognition/src/protocols/Aws_json1_1.ts @@ -5861,8 +5861,8 @@ const de_VideoTooLargeExceptionRes = async ( */ const se_BlackFrame = (input: BlackFrame, context: __SerdeContext): any => { return take(input, { - MaxPixelThreshold: (_) => __serializeFloat(_), - MinCoveragePercentage: (_) => __serializeFloat(_), + MaxPixelThreshold: __serializeFloat, + MinCoveragePercentage: __serializeFloat, }); }; @@ -5871,10 +5871,10 @@ const se_BlackFrame = (input: BlackFrame, context: __SerdeContext): any => { */ const se_BoundingBox = (input: BoundingBox, context: __SerdeContext): any => { return take(input, { - Height: (_) => __serializeFloat(_), - Left: (_) => __serializeFloat(_), - Top: (_) => __serializeFloat(_), - Width: (_) => __serializeFloat(_), + Height: __serializeFloat, + Left: __serializeFloat, + Top: __serializeFloat, + Width: __serializeFloat, }); }; @@ -5884,7 +5884,7 @@ const se_BoundingBox = (input: BoundingBox, context: __SerdeContext): any => { const se_CompareFacesRequest = (input: CompareFacesRequest, context: __SerdeContext): any => { return take(input, { QualityFilter: [], - SimilarityThreshold: (_) => __serializeFloat(_), + SimilarityThreshold: __serializeFloat, SourceImage: (_) => se_Image(_, context), TargetImage: (_) => se_Image(_, context), }); @@ -5897,8 +5897,8 @@ const se_CompareFacesRequest = (input: CompareFacesRequest, context: __SerdeCont */ const se_ConnectedHomeSettings = (input: ConnectedHomeSettings, context: __SerdeContext): any => { return take(input, { - Labels: (_) => _json(_), - MinConfidence: (_) => __serializeFloat(_), + Labels: _json, + MinConfidence: __serializeFloat, }); }; @@ -5907,8 +5907,8 @@ const se_ConnectedHomeSettings = (input: ConnectedHomeSettings, context: __Serde */ const se_ConnectedHomeSettingsForUpdate = (input: ConnectedHomeSettingsForUpdate, context: __SerdeContext): any => { return take(input, { - Labels: (_) => _json(_), - MinConfidence: (_) => __serializeFloat(_), + Labels: _json, + MinConfidence: __serializeFloat, }); }; @@ -5933,16 +5933,16 @@ const se_ConnectedHomeSettingsForUpdate = (input: ConnectedHomeSettingsForUpdate */ const se_CreateStreamProcessorRequest = (input: CreateStreamProcessorRequest, context: __SerdeContext): any => { return take(input, { - DataSharingPreference: (_) => _json(_), - Input: (_) => _json(_), + DataSharingPreference: _json, + Input: _json, KmsKeyId: [], Name: [], - NotificationChannel: (_) => _json(_), - Output: (_) => _json(_), + NotificationChannel: _json, + Output: _json, RegionsOfInterest: (_) => se_RegionsOfInterest(_, context), RoleArn: [], Settings: (_) => se_StreamProcessorSettings(_, context), - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -5951,7 +5951,7 @@ const se_CreateStreamProcessorRequest = (input: CreateStreamProcessorRequest, co */ const se_DatasetChanges = (input: DatasetChanges, context: __SerdeContext): any => { return take(input, { - GroundTruth: (_) => context.base64Encoder(_), + GroundTruth: context.base64Encoder, }); }; @@ -5990,7 +5990,7 @@ const se_DetectCustomLabelsRequest = (input: DetectCustomLabelsRequest, context: return take(input, { Image: (_) => se_Image(_, context), MaxResults: [], - MinConfidence: (_) => __serializeFloat(_), + MinConfidence: __serializeFloat, ProjectVersionArn: [], }); }; @@ -6000,7 +6000,7 @@ const se_DetectCustomLabelsRequest = (input: DetectCustomLabelsRequest, context: */ const se_DetectFacesRequest = (input: DetectFacesRequest, context: __SerdeContext): any => { return take(input, { - Attributes: (_) => _json(_), + Attributes: _json, Image: (_) => se_Image(_, context), }); }; @@ -6010,9 +6010,9 @@ const se_DetectFacesRequest = (input: DetectFacesRequest, context: __SerdeContex */ const se_DetectionFilter = (input: DetectionFilter, context: __SerdeContext): any => { return take(input, { - MinBoundingBoxHeight: (_) => __serializeFloat(_), - MinBoundingBoxWidth: (_) => __serializeFloat(_), - MinConfidence: (_) => __serializeFloat(_), + MinBoundingBoxHeight: __serializeFloat, + MinBoundingBoxWidth: __serializeFloat, + MinConfidence: __serializeFloat, }); }; @@ -6025,11 +6025,11 @@ const se_DetectionFilter = (input: DetectionFilter, context: __SerdeContext): an */ const se_DetectLabelsRequest = (input: DetectLabelsRequest, context: __SerdeContext): any => { return take(input, { - Features: (_) => _json(_), + Features: _json, Image: (_) => se_Image(_, context), MaxLabels: [], - MinConfidence: (_) => __serializeFloat(_), - Settings: (_) => _json(_), + MinConfidence: __serializeFloat, + Settings: _json, }); }; @@ -6040,9 +6040,9 @@ const se_DetectLabelsRequest = (input: DetectLabelsRequest, context: __SerdeCont */ const se_DetectModerationLabelsRequest = (input: DetectModerationLabelsRequest, context: __SerdeContext): any => { return take(input, { - HumanLoopConfig: (_) => _json(_), + HumanLoopConfig: _json, Image: (_) => se_Image(_, context), - MinConfidence: (_) => __serializeFloat(_), + MinConfidence: __serializeFloat, }); }; @@ -6090,7 +6090,7 @@ const se_DetectTextRequest = (input: DetectTextRequest, context: __SerdeContext) const se_FaceSearchSettings = (input: FaceSearchSettings, context: __SerdeContext): any => { return take(input, { CollectionId: [], - FaceMatchThreshold: (_) => __serializeFloat(_), + FaceMatchThreshold: __serializeFloat, }); }; @@ -6129,8 +6129,8 @@ const se_FaceSearchSettings = (input: FaceSearchSettings, context: __SerdeContex */ const se_Image = (input: Image, context: __SerdeContext): any => { return take(input, { - Bytes: (_) => context.base64Encoder(_), - S3Object: (_) => _json(_), + Bytes: context.base64Encoder, + S3Object: _json, }); }; @@ -6140,7 +6140,7 @@ const se_Image = (input: Image, context: __SerdeContext): any => { const se_IndexFacesRequest = (input: IndexFacesRequest, context: __SerdeContext): any => { return take(input, { CollectionId: [], - DetectionAttributes: (_) => _json(_), + DetectionAttributes: _json, ExternalImageId: [], Image: (_) => se_Image(_, context), MaxFaces: [], @@ -6183,8 +6183,8 @@ const se_IndexFacesRequest = (input: IndexFacesRequest, context: __SerdeContext) */ const se_Point = (input: Point, context: __SerdeContext): any => { return take(input, { - X: (_) => __serializeFloat(_), - Y: (_) => __serializeFloat(_), + X: __serializeFloat, + Y: __serializeFloat, }); }; @@ -6209,8 +6209,8 @@ const se_ProtectiveEquipmentSummarizationAttributes = ( context: __SerdeContext ): any => { return take(input, { - MinConfidence: (_) => __serializeFloat(_), - RequiredEquipmentTypes: (_) => _json(_), + MinConfidence: __serializeFloat, + RequiredEquipmentTypes: _json, }); }; @@ -6258,7 +6258,7 @@ const se_RegionsOfInterest = (input: RegionOfInterest[], context: __SerdeContext const se_SearchFacesByImageRequest = (input: SearchFacesByImageRequest, context: __SerdeContext): any => { return take(input, { CollectionId: [], - FaceMatchThreshold: (_) => __serializeFloat(_), + FaceMatchThreshold: __serializeFloat, Image: (_) => se_Image(_, context), MaxFaces: [], QualityFilter: [], @@ -6272,7 +6272,7 @@ const se_SearchFacesRequest = (input: SearchFacesRequest, context: __SerdeContex return take(input, { CollectionId: [], FaceId: [], - FaceMatchThreshold: (_) => __serializeFloat(_), + FaceMatchThreshold: __serializeFloat, MaxFaces: [], }); }; @@ -6288,9 +6288,9 @@ const se_StartContentModerationRequest = (input: StartContentModerationRequest, return take(input, { ClientRequestToken: [], JobTag: [], - MinConfidence: (_) => __serializeFloat(_), - NotificationChannel: (_) => _json(_), - Video: (_) => _json(_), + MinConfidence: __serializeFloat, + NotificationChannel: _json, + Video: _json, }); }; @@ -6303,10 +6303,10 @@ const se_StartFaceSearchRequest = (input: StartFaceSearchRequest, context: __Ser return take(input, { ClientRequestToken: [], CollectionId: [], - FaceMatchThreshold: (_) => __serializeFloat(_), + FaceMatchThreshold: __serializeFloat, JobTag: [], - NotificationChannel: (_) => _json(_), - Video: (_) => _json(_), + NotificationChannel: _json, + Video: _json, }); }; @@ -6316,12 +6316,12 @@ const se_StartFaceSearchRequest = (input: StartFaceSearchRequest, context: __Ser const se_StartLabelDetectionRequest = (input: StartLabelDetectionRequest, context: __SerdeContext): any => { return take(input, { ClientRequestToken: [], - Features: (_) => _json(_), + Features: _json, JobTag: [], - MinConfidence: (_) => __serializeFloat(_), - NotificationChannel: (_) => _json(_), - Settings: (_) => _json(_), - Video: (_) => _json(_), + MinConfidence: __serializeFloat, + NotificationChannel: _json, + Settings: _json, + Video: _json, }); }; @@ -6347,9 +6347,9 @@ const se_StartSegmentDetectionRequest = (input: StartSegmentDetectionRequest, co ClientRequestToken: [], Filters: (_) => se_StartSegmentDetectionFilters(_, context), JobTag: [], - NotificationChannel: (_) => _json(_), - SegmentTypes: (_) => _json(_), - Video: (_) => _json(_), + NotificationChannel: _json, + SegmentTypes: _json, + Video: _json, }); }; @@ -6358,7 +6358,7 @@ const se_StartSegmentDetectionRequest = (input: StartSegmentDetectionRequest, co */ const se_StartShotDetectionFilter = (input: StartShotDetectionFilter, context: __SerdeContext): any => { return take(input, { - MinSegmentConfidence: (_) => __serializeFloat(_), + MinSegmentConfidence: __serializeFloat, }); }; @@ -6370,7 +6370,7 @@ const se_StartShotDetectionFilter = (input: StartShotDetectionFilter, context: _ const se_StartTechnicalCueDetectionFilter = (input: StartTechnicalCueDetectionFilter, context: __SerdeContext): any => { return take(input, { BlackFrame: (_) => se_BlackFrame(_, context), - MinSegmentConfidence: (_) => __serializeFloat(_), + MinSegmentConfidence: __serializeFloat, }); }; @@ -6392,8 +6392,8 @@ const se_StartTextDetectionRequest = (input: StartTextDetectionRequest, context: ClientRequestToken: [], Filters: (_) => se_StartTextDetectionFilters(_, context), JobTag: [], - NotificationChannel: (_) => _json(_), - Video: (_) => _json(_), + NotificationChannel: _json, + Video: _json, }); }; @@ -6461,9 +6461,9 @@ const se_UpdateDatasetEntriesRequest = (input: UpdateDatasetEntriesRequest, cont */ const se_UpdateStreamProcessorRequest = (input: UpdateStreamProcessorRequest, context: __SerdeContext): any => { return take(input, { - DataSharingPreferenceForUpdate: (_) => _json(_), + DataSharingPreferenceForUpdate: _json, Name: [], - ParametersToDelete: (_) => _json(_), + ParametersToDelete: _json, RegionsOfInterestForUpdate: (_) => se_RegionsOfInterest(_, context), SettingsForUpdate: (_) => se_StreamProcessorSettingsForUpdate(_, context), }); diff --git a/clients/client-rekognitionstreaming/src/protocols/Aws_restJson1.ts b/clients/client-rekognitionstreaming/src/protocols/Aws_restJson1.ts index 02c4e16c91389..bb41e2a730147 100644 --- a/clients/client-rekognitionstreaming/src/protocols/Aws_restJson1.ts +++ b/clients/client-rekognitionstreaming/src/protocols/Aws_restJson1.ts @@ -446,10 +446,10 @@ const de_ValidationException_event = async (output: any, context: __SerdeContext */ const se_BoundingBox = (input: BoundingBox, context: __SerdeContext): any => { return take(input, { - Height: (_) => __serializeFloat(_), - Left: (_) => __serializeFloat(_), - Top: (_) => __serializeFloat(_), - Width: (_) => __serializeFloat(_), + Height: __serializeFloat, + Left: __serializeFloat, + Top: __serializeFloat, + Width: __serializeFloat, }); }; @@ -487,7 +487,7 @@ const se_FaceMovementAndLightClientChallenge = ( ): any => { return take(input, { ChallengeId: [], - ColorDisplayed: (_) => _json(_), + ColorDisplayed: _json, InitialFace: (_) => se_InitialFace(_, context), TargetFace: (_) => se_TargetFace(_, context), VideoEndTimestamp: [], @@ -524,7 +524,7 @@ const se_TargetFace = (input: TargetFace, context: __SerdeContext): any => { const se_VideoEvent = (input: VideoEvent, context: __SerdeContext): any => { return take(input, { TimestampMillis: [], - VideoChunk: (_) => context.base64Encoder(_), + VideoChunk: context.base64Encoder, }); }; diff --git a/clients/client-route-53-domains/src/protocols/Aws_json1_1.ts b/clients/client-route-53-domains/src/protocols/Aws_json1_1.ts index 15b20d7483787..84bdd1b120ec1 100644 --- a/clients/client-route-53-domains/src/protocols/Aws_json1_1.ts +++ b/clients/client-route-53-domains/src/protocols/Aws_json1_1.ts @@ -2527,7 +2527,7 @@ const de_UnsupportedTLDRes = async (parsedOutput: any, context: __SerdeContext): const se_Consent = (input: Consent, context: __SerdeContext): any => { return take(input, { Currency: [], - MaxPrice: (_) => __serializeFloat(_), + MaxPrice: __serializeFloat, }); }; @@ -2578,9 +2578,9 @@ const se_ListOperationsRequest = (input: ListOperationsRequest, context: __Serde MaxItems: [], SortBy: [], SortOrder: [], - Status: (_) => _json(_), + Status: _json, SubmittedSince: (_) => Math.round(_.getTime() / 1000), - Type: (_) => _json(_), + Type: _json, }); }; @@ -2629,11 +2629,11 @@ const se_ListOperationsRequest = (input: ListOperationsRequest, context: __Serde */ const se_UpdateDomainContactRequest = (input: UpdateDomainContactRequest, context: __SerdeContext): any => { return take(input, { - AdminContact: (_) => _json(_), + AdminContact: _json, Consent: (_) => se_Consent(_, context), DomainName: [], - RegistrantContact: (_) => _json(_), - TechContact: (_) => _json(_), + RegistrantContact: _json, + TechContact: _json, }); }; diff --git a/clients/client-route53-recovery-readiness/src/protocols/Aws_restJson1.ts b/clients/client-route53-recovery-readiness/src/protocols/Aws_restJson1.ts index 83965b9a10ae3..cf107aa9c9429 100644 --- a/clients/client-route53-recovery-readiness/src/protocols/Aws_restJson1.ts +++ b/clients/client-route53-recovery-readiness/src/protocols/Aws_restJson1.ts @@ -3164,7 +3164,7 @@ const se_Resource = (input: Resource, context: __SerdeContext): any => { return take(input, { componentId: [, , `ComponentId`], dnsTargetResource: [, (_) => se_DNSTargetResource(_, context), `DnsTargetResource`], - readinessScopes: [, (_) => _json(_), `ReadinessScopes`], + readinessScopes: [, _json, `ReadinessScopes`], resourceArn: [, , `ResourceArn`], }); }; diff --git a/clients/client-route53resolver/src/protocols/Aws_json1_1.ts b/clients/client-route53resolver/src/protocols/Aws_json1_1.ts index c4e7a66b1cc24..30aa69138904c 100644 --- a/clients/client-route53resolver/src/protocols/Aws_json1_1.ts +++ b/clients/client-route53resolver/src/protocols/Aws_json1_1.ts @@ -5158,7 +5158,7 @@ const se_AssociateFirewallRuleGroupRequest = ( MutationProtection: [], Name: [], Priority: [], - Tags: (_) => _json(_), + Tags: _json, VpcId: [], }); }; @@ -5176,7 +5176,7 @@ const se_CreateFirewallDomainListRequest = (input: CreateFirewallDomainListReque return take(input, { CreatorRequestId: (_) => _ ?? generateIdempotencyToken(), Name: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -5187,7 +5187,7 @@ const se_CreateFirewallRuleGroupRequest = (input: CreateFirewallRuleGroupRequest return take(input, { CreatorRequestId: (_) => _ ?? generateIdempotencyToken(), Name: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -5222,7 +5222,7 @@ const se_CreateResolverQueryLogConfigRequest = ( CreatorRequestId: (_) => _ ?? generateIdempotencyToken(), DestinationArn: [], Name: [], - Tags: (_) => _json(_), + Tags: _json, }); }; diff --git a/clients/client-rum/src/protocols/Aws_restJson1.ts b/clients/client-rum/src/protocols/Aws_restJson1.ts index 864c6106c0c6f..6733690743f62 100644 --- a/clients/client-rum/src/protocols/Aws_restJson1.ts +++ b/clients/client-rum/src/protocols/Aws_restJson1.ts @@ -1798,13 +1798,13 @@ const se_AppMonitorConfiguration = (input: AppMonitorConfiguration, context: __S return take(input, { AllowCookies: [], EnableXRay: [], - ExcludedPages: (_) => _json(_), - FavoritePages: (_) => _json(_), + ExcludedPages: _json, + FavoritePages: _json, GuestRoleArn: [], IdentityPoolId: [], - IncludedPages: (_) => _json(_), - SessionSampleRate: (_) => __serializeFloat(_), - Telemetries: (_) => _json(_), + IncludedPages: _json, + SessionSampleRate: __serializeFloat, + Telemetries: _json, }); }; @@ -1833,9 +1833,9 @@ const se_AppMonitorConfiguration = (input: AppMonitorConfiguration, context: __S */ const se_RumEvent = (input: RumEvent, context: __SerdeContext): any => { return take(input, { - details: (_) => __LazyJsonString.fromObject(_), + details: __LazyJsonString.fromObject, id: [], - metadata: (_) => __LazyJsonString.fromObject(_), + metadata: __LazyJsonString.fromObject, timestamp: (_) => Math.round(_.getTime() / 1000), type: [], }); diff --git a/clients/client-sagemaker-edge/src/protocols/Aws_restJson1.ts b/clients/client-sagemaker-edge/src/protocols/Aws_restJson1.ts index 258f4476bba4e..48902862a6d3f 100644 --- a/clients/client-sagemaker-edge/src/protocols/Aws_restJson1.ts +++ b/clients/client-sagemaker-edge/src/protocols/Aws_restJson1.ts @@ -289,7 +289,7 @@ const de_InternalServiceExceptionRes = async ( const se_DeploymentResult = (input: DeploymentResult, context: __SerdeContext): any => { return take(input, { DeploymentEndTime: (_) => Math.round(_.getTime() / 1000), - DeploymentModels: (_) => _json(_), + DeploymentModels: _json, DeploymentName: [], DeploymentStartTime: (_) => Math.round(_.getTime() / 1000), DeploymentStatus: [], @@ -305,7 +305,7 @@ const se_EdgeMetric = (input: EdgeMetric, context: __SerdeContext): any => { Dimension: [], MetricName: [], Timestamp: (_) => Math.round(_.getTime() / 1000), - Value: (_) => __serializeFloat(_), + Value: __serializeFloat, }); }; diff --git a/clients/client-sagemaker-geospatial/src/protocols/Aws_restJson1.ts b/clients/client-sagemaker-geospatial/src/protocols/Aws_restJson1.ts index 4eb9afd003595..29ee7de338564 100644 --- a/clients/client-sagemaker-geospatial/src/protocols/Aws_restJson1.ts +++ b/clients/client-sagemaker-geospatial/src/protocols/Aws_restJson1.ts @@ -2101,8 +2101,8 @@ const se_AreaOfInterestGeometry = (input: AreaOfInterestGeometry, context: __Ser */ const se_EoCloudCoverInput = (input: EoCloudCoverInput, context: __SerdeContext): any => { return take(input, { - LowerBound: (_) => __serializeFloat(_), - UpperBound: (_) => __serializeFloat(_), + LowerBound: __serializeFloat, + UpperBound: __serializeFloat, }); }; @@ -2119,7 +2119,7 @@ const se_EoCloudCoverInput = (input: EoCloudCoverInput, context: __SerdeContext) */ const se_InputConfigInput = (input: InputConfigInput, context: __SerdeContext): any => { return take(input, { - DataSourceConfig: (_) => _json(_), + DataSourceConfig: _json, PreviousEarthObservationJobArn: [], RasterDataCollectionQuery: (_) => se_RasterDataCollectionQueryInput(_, context), }); @@ -2150,8 +2150,8 @@ const se_JobConfigInput = (input: JobConfigInput, context: __SerdeContext): any */ const se_LandsatCloudCoverLandInput = (input: LandsatCloudCoverLandInput, context: __SerdeContext): any => { return take(input, { - LowerBound: (_) => __serializeFloat(_), - UpperBound: (_) => __serializeFloat(_), + LowerBound: __serializeFloat, + UpperBound: __serializeFloat, }); }; @@ -2312,7 +2312,7 @@ const se_RasterDataCollectionQueryWithBandFilterInput = ( ): any => { return take(input, { AreaOfInterest: (_) => se_AreaOfInterest(_, context), - BandFilter: (_) => _json(_), + BandFilter: _json, PropertyFilters: (_) => se_PropertyFilters(_, context), TimeRangeFilter: (_) => se_TimeRangeFilterInput(_, context), }); @@ -2325,7 +2325,7 @@ const se_ResamplingConfigInput = (input: ResamplingConfigInput, context: __Serde return take(input, { AlgorithmName: [], OutputResolution: (_) => se_OutputResolutionResamplingInput(_, context), - TargetBands: (_) => _json(_), + TargetBands: _json, }); }; @@ -2339,7 +2339,7 @@ const se_ResamplingConfigInput = (input: ResamplingConfigInput, context: __Serde const se_StackConfigInput = (input: StackConfigInput, context: __SerdeContext): any => { return take(input, { OutputResolution: (_) => se_OutputResolutionStackInput(_, context), - TargetBands: (_) => _json(_), + TargetBands: _json, }); }; @@ -2367,7 +2367,7 @@ const se_TimeRangeFilterInput = (input: TimeRangeFilterInput, context: __SerdeCo const se_UserDefined = (input: UserDefined, context: __SerdeContext): any => { return take(input, { Unit: [], - Value: (_) => __serializeFloat(_), + Value: __serializeFloat, }); }; @@ -2384,8 +2384,8 @@ const se_UserDefined = (input: UserDefined, context: __SerdeContext): any => { */ const se_ViewOffNadirInput = (input: ViewOffNadirInput, context: __SerdeContext): any => { return take(input, { - LowerBound: (_) => __serializeFloat(_), - UpperBound: (_) => __serializeFloat(_), + LowerBound: __serializeFloat, + UpperBound: __serializeFloat, }); }; @@ -2394,8 +2394,8 @@ const se_ViewOffNadirInput = (input: ViewOffNadirInput, context: __SerdeContext) */ const se_ViewSunAzimuthInput = (input: ViewSunAzimuthInput, context: __SerdeContext): any => { return take(input, { - LowerBound: (_) => __serializeFloat(_), - UpperBound: (_) => __serializeFloat(_), + LowerBound: __serializeFloat, + UpperBound: __serializeFloat, }); }; @@ -2404,8 +2404,8 @@ const se_ViewSunAzimuthInput = (input: ViewSunAzimuthInput, context: __SerdeCont */ const se_ViewSunElevationInput = (input: ViewSunElevationInput, context: __SerdeContext): any => { return take(input, { - LowerBound: (_) => __serializeFloat(_), - UpperBound: (_) => __serializeFloat(_), + LowerBound: __serializeFloat, + UpperBound: __serializeFloat, }); }; diff --git a/clients/client-sagemaker-metrics/src/protocols/Aws_restJson1.ts b/clients/client-sagemaker-metrics/src/protocols/Aws_restJson1.ts index 43d93fe9fc7ce..2f580df58c964 100644 --- a/clients/client-sagemaker-metrics/src/protocols/Aws_restJson1.ts +++ b/clients/client-sagemaker-metrics/src/protocols/Aws_restJson1.ts @@ -99,7 +99,7 @@ const se_RawMetricData = (input: RawMetricData, context: __SerdeContext): any => MetricName: [], Step: [], Timestamp: (_) => Math.round(_.getTime() / 1000), - Value: (_) => __serializeFloat(_), + Value: __serializeFloat, }); }; diff --git a/clients/client-sagemaker/src/protocols/Aws_json1_1.ts b/clients/client-sagemaker/src/protocols/Aws_json1_1.ts index 172d63187e8c9..0e0f2936d2823 100644 --- a/clients/client-sagemaker/src/protocols/Aws_json1_1.ts +++ b/clients/client-sagemaker/src/protocols/Aws_json1_1.ts @@ -19086,7 +19086,7 @@ const de_ResourceNotFoundRes = async (parsedOutput: any, context: __SerdeContext */ const se_AutoMLDataSplitConfig = (input: AutoMLDataSplitConfig, context: __SerdeContext): any => { return take(input, { - ValidationFraction: (_) => __serializeFloat(_), + ValidationFraction: __serializeFloat, }); }; @@ -19101,11 +19101,11 @@ const se_AutoMLDataSplitConfig = (input: AutoMLDataSplitConfig, context: __Serde */ const se_AutoMLJobConfig = (input: AutoMLJobConfig, context: __SerdeContext): any => { return take(input, { - CandidateGenerationConfig: (_) => _json(_), - CompletionCriteria: (_) => _json(_), + CandidateGenerationConfig: _json, + CompletionCriteria: _json, DataSplitConfig: (_) => se_AutoMLDataSplitConfig(_, context), Mode: [], - SecurityConfig: (_) => _json(_), + SecurityConfig: _json, }); }; @@ -19133,13 +19133,13 @@ const se_AutoMLJobConfig = (input: AutoMLJobConfig, context: __SerdeContext): an const se_BatchTransformInput = (input: BatchTransformInput, context: __SerdeContext): any => { return take(input, { DataCapturedDestinationS3Uri: [], - DatasetFormat: (_) => _json(_), + DatasetFormat: _json, EndTimeOffset: [], FeaturesAttribute: [], InferenceAttribute: [], LocalPath: [], ProbabilityAttribute: [], - ProbabilityThresholdAttribute: (_) => __serializeFloat(_), + ProbabilityThresholdAttribute: __serializeFloat, S3DataDistributionType: [], S3InputMode: [], StartTimeOffset: [], @@ -19255,14 +19255,14 @@ const se_CreateAutoMLJobRequest = (input: CreateAutoMLJobRequest, context: __Ser return take(input, { AutoMLJobConfig: (_) => se_AutoMLJobConfig(_, context), AutoMLJobName: [], - AutoMLJobObjective: (_) => _json(_), + AutoMLJobObjective: _json, GenerateCandidateDefinitionsOnly: [], - InputDataConfig: (_) => _json(_), - ModelDeployConfig: (_) => _json(_), - OutputDataConfig: (_) => _json(_), + InputDataConfig: _json, + ModelDeployConfig: _json, + OutputDataConfig: _json, ProblemType: [], RoleArn: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -19271,16 +19271,16 @@ const se_CreateAutoMLJobRequest = (input: CreateAutoMLJobRequest, context: __Ser */ const se_CreateAutoMLJobV2Request = (input: CreateAutoMLJobV2Request, context: __SerdeContext): any => { return take(input, { - AutoMLJobInputDataConfig: (_) => _json(_), + AutoMLJobInputDataConfig: _json, AutoMLJobName: [], - AutoMLJobObjective: (_) => _json(_), - AutoMLProblemTypeConfig: (_) => _json(_), + AutoMLJobObjective: _json, + AutoMLProblemTypeConfig: _json, DataSplitConfig: (_) => se_AutoMLDataSplitConfig(_, context), - ModelDeployConfig: (_) => _json(_), - OutputDataConfig: (_) => _json(_), + ModelDeployConfig: _json, + OutputDataConfig: _json, RoleArn: [], - SecurityConfig: (_) => _json(_), - Tags: (_) => _json(_), + SecurityConfig: _json, + Tags: _json, }); }; @@ -19298,16 +19298,16 @@ const se_CreateDataQualityJobDefinitionRequest = ( context: __SerdeContext ): any => { return take(input, { - DataQualityAppSpecification: (_) => _json(_), - DataQualityBaselineConfig: (_) => _json(_), + DataQualityAppSpecification: _json, + DataQualityBaselineConfig: _json, DataQualityJobInput: (_) => se_DataQualityJobInput(_, context), - DataQualityJobOutputConfig: (_) => _json(_), + DataQualityJobOutputConfig: _json, JobDefinitionName: [], - JobResources: (_) => _json(_), - NetworkConfig: (_) => _json(_), + JobResources: _json, + NetworkConfig: _json, RoleArn: [], - StoppingCondition: (_) => _json(_), - Tags: (_) => _json(_), + StoppingCondition: _json, + Tags: _json, }); }; @@ -19326,14 +19326,14 @@ const se_CreateDataQualityJobDefinitionRequest = ( */ const se_CreateEndpointConfigInput = (input: CreateEndpointConfigInput, context: __SerdeContext): any => { return take(input, { - AsyncInferenceConfig: (_) => _json(_), - DataCaptureConfig: (_) => _json(_), + AsyncInferenceConfig: _json, + DataCaptureConfig: _json, EndpointConfigName: [], - ExplainerConfig: (_) => _json(_), + ExplainerConfig: _json, KmsKeyId: [], ProductionVariants: (_) => se_ProductionVariantList(_, context), ShadowProductionVariants: (_) => se_ProductionVariantList(_, context), - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -19350,11 +19350,11 @@ const se_CreateFlowDefinitionRequest = (input: CreateFlowDefinitionRequest, cont return take(input, { FlowDefinitionName: [], HumanLoopActivationConfig: (_) => se_HumanLoopActivationConfig(_, context), - HumanLoopConfig: (_) => _json(_), - HumanLoopRequestSource: (_) => _json(_), - OutputConfig: (_) => _json(_), + HumanLoopConfig: _json, + HumanLoopRequestSource: _json, + OutputConfig: _json, RoleArn: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -19372,10 +19372,10 @@ const se_CreateHyperParameterTuningJobRequest = ( return take(input, { HyperParameterTuningJobConfig: (_) => se_HyperParameterTuningJobConfig(_, context), HyperParameterTuningJobName: [], - Tags: (_) => _json(_), - TrainingJobDefinition: (_) => _json(_), - TrainingJobDefinitions: (_) => _json(_), - WarmStartConfig: (_) => _json(_), + Tags: _json, + TrainingJobDefinition: _json, + TrainingJobDefinitions: _json, + WarmStartConfig: _json, }); }; @@ -19386,7 +19386,7 @@ const se_CreateHyperParameterTuningJobRequest = ( */ const se_CreateImageVersionRequest = (input: CreateImageVersionRequest, context: __SerdeContext): any => { return take(input, { - Aliases: (_) => _json(_), + Aliases: _json, BaseImage: [], ClientToken: (_) => _ ?? generateIdempotencyToken(), Horovod: [], @@ -19405,16 +19405,16 @@ const se_CreateImageVersionRequest = (input: CreateImageVersionRequest, context: */ const se_CreateInferenceExperimentRequest = (input: CreateInferenceExperimentRequest, context: __SerdeContext): any => { return take(input, { - DataStorageConfig: (_) => _json(_), + DataStorageConfig: _json, Description: [], EndpointName: [], KmsKey: [], - ModelVariants: (_) => _json(_), + ModelVariants: _json, Name: [], RoleArn: [], Schedule: (_) => se_InferenceExperimentSchedule(_, context), - ShadowModeConfig: (_) => _json(_), - Tags: (_) => _json(_), + ShadowModeConfig: _json, + Tags: _json, Type: [], }); }; @@ -19432,15 +19432,15 @@ const se_CreateModelBiasJobDefinitionRequest = ( ): any => { return take(input, { JobDefinitionName: [], - JobResources: (_) => _json(_), - ModelBiasAppSpecification: (_) => _json(_), - ModelBiasBaselineConfig: (_) => _json(_), + JobResources: _json, + ModelBiasAppSpecification: _json, + ModelBiasBaselineConfig: _json, ModelBiasJobInput: (_) => se_ModelBiasJobInput(_, context), - ModelBiasJobOutputConfig: (_) => _json(_), - NetworkConfig: (_) => _json(_), + ModelBiasJobOutputConfig: _json, + NetworkConfig: _json, RoleArn: [], - StoppingCondition: (_) => _json(_), - Tags: (_) => _json(_), + StoppingCondition: _json, + Tags: _json, }); }; @@ -19457,15 +19457,15 @@ const se_CreateModelExplainabilityJobDefinitionRequest = ( ): any => { return take(input, { JobDefinitionName: [], - JobResources: (_) => _json(_), - ModelExplainabilityAppSpecification: (_) => _json(_), - ModelExplainabilityBaselineConfig: (_) => _json(_), + JobResources: _json, + ModelExplainabilityAppSpecification: _json, + ModelExplainabilityBaselineConfig: _json, ModelExplainabilityJobInput: (_) => se_ModelExplainabilityJobInput(_, context), - ModelExplainabilityJobOutputConfig: (_) => _json(_), - NetworkConfig: (_) => _json(_), + ModelExplainabilityJobOutputConfig: _json, + NetworkConfig: _json, RoleArn: [], - StoppingCondition: (_) => _json(_), - Tags: (_) => _json(_), + StoppingCondition: _json, + Tags: _json, }); }; @@ -19478,24 +19478,24 @@ const se_CreateModelExplainabilityJobDefinitionRequest = ( */ const se_CreateModelPackageInput = (input: CreateModelPackageInput, context: __SerdeContext): any => { return take(input, { - AdditionalInferenceSpecifications: (_) => _json(_), + AdditionalInferenceSpecifications: _json, CertifyForMarketplace: [], ClientToken: (_) => _ ?? generateIdempotencyToken(), - CustomerMetadataProperties: (_) => _json(_), + CustomerMetadataProperties: _json, Domain: [], - DriftCheckBaselines: (_) => _json(_), - InferenceSpecification: (_) => _json(_), - MetadataProperties: (_) => _json(_), + DriftCheckBaselines: _json, + InferenceSpecification: _json, + MetadataProperties: _json, ModelApprovalStatus: [], - ModelMetrics: (_) => _json(_), + ModelMetrics: _json, ModelPackageDescription: [], ModelPackageGroupName: [], ModelPackageName: [], SamplePayloadUrl: [], - SourceAlgorithmSpecification: (_) => _json(_), - Tags: (_) => _json(_), + SourceAlgorithmSpecification: _json, + Tags: _json, Task: [], - ValidationSpecification: (_) => _json(_), + ValidationSpecification: _json, }); }; @@ -19508,15 +19508,15 @@ const se_CreateModelQualityJobDefinitionRequest = ( ): any => { return take(input, { JobDefinitionName: [], - JobResources: (_) => _json(_), - ModelQualityAppSpecification: (_) => _json(_), - ModelQualityBaselineConfig: (_) => _json(_), + JobResources: _json, + ModelQualityAppSpecification: _json, + ModelQualityBaselineConfig: _json, ModelQualityJobInput: (_) => se_ModelQualityJobInput(_, context), - ModelQualityJobOutputConfig: (_) => _json(_), - NetworkConfig: (_) => _json(_), + ModelQualityJobOutputConfig: _json, + NetworkConfig: _json, RoleArn: [], - StoppingCondition: (_) => _json(_), - Tags: (_) => _json(_), + StoppingCondition: _json, + Tags: _json, }); }; @@ -19527,7 +19527,7 @@ const se_CreateMonitoringScheduleRequest = (input: CreateMonitoringScheduleReque return take(input, { MonitoringScheduleConfig: (_) => se_MonitoringScheduleConfig(_, context), MonitoringScheduleName: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -19541,14 +19541,14 @@ const se_CreateMonitoringScheduleRequest = (input: CreateMonitoringScheduleReque const se_CreatePipelineRequest = (input: CreatePipelineRequest, context: __SerdeContext): any => { return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), - ParallelismConfiguration: (_) => _json(_), + ParallelismConfiguration: _json, PipelineDefinition: [], - PipelineDefinitionS3Location: (_) => _json(_), + PipelineDefinitionS3Location: _json, PipelineDescription: [], PipelineDisplayName: [], PipelineName: [], RoleArn: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -19575,13 +19575,13 @@ const se_CreateTrialComponentRequest = (input: CreateTrialComponentRequest, cont return take(input, { DisplayName: [], EndTime: (_) => Math.round(_.getTime() / 1000), - InputArtifacts: (_) => _json(_), - MetadataProperties: (_) => _json(_), - OutputArtifacts: (_) => _json(_), + InputArtifacts: _json, + MetadataProperties: _json, + OutputArtifacts: _json, Parameters: (_) => se_TrialComponentParameters(_, context), StartTime: (_) => Math.round(_.getTime() / 1000), - Status: (_) => _json(_), - Tags: (_) => _json(_), + Status: _json, + Tags: _json, TrialComponentName: [], }); }; @@ -19864,7 +19864,7 @@ const se_DeletePipelineRequest = (input: DeletePipelineRequest, context: __Serde const se_DesiredWeightAndCapacity = (input: DesiredWeightAndCapacity, context: __SerdeContext): any => { return take(input, { DesiredInstanceCount: [], - DesiredWeight: (_) => __serializeFloat(_), + DesiredWeight: __serializeFloat, VariantName: [], }); }; @@ -19931,7 +19931,7 @@ const se_EndpointInput = (input: EndpointInput, context: __SerdeContext): any => InferenceAttribute: [], LocalPath: [], ProbabilityAttribute: [], - ProbabilityThresholdAttribute: (_) => __serializeFloat(_), + ProbabilityThresholdAttribute: __serializeFloat, S3DataDistributionType: [], S3InputMode: [], StartTimeOffset: [], @@ -20012,7 +20012,7 @@ const se_HumanLoopActivationConditionsConfig = ( context: __SerdeContext ): any => { return take(input, { - HumanLoopActivationConditions: (_) => __LazyJsonString.fromObject(_), + HumanLoopActivationConditions: __LazyJsonString.fromObject, }); }; @@ -20056,12 +20056,12 @@ const se_HumanLoopActivationConfig = (input: HumanLoopActivationConfig, context: */ const se_HyperParameterTuningJobConfig = (input: HyperParameterTuningJobConfig, context: __SerdeContext): any => { return take(input, { - HyperParameterTuningJobObjective: (_) => _json(_), - ParameterRanges: (_) => _json(_), + HyperParameterTuningJobObjective: _json, + ParameterRanges: _json, RandomSeed: [], - ResourceLimits: (_) => _json(_), + ResourceLimits: _json, Strategy: [], - StrategyConfig: (_) => _json(_), + StrategyConfig: _json, TrainingJobEarlyStoppingType: [], TuningJobCompletionCriteria: (_) => se_TuningJobCompletionCriteria(_, context), }); @@ -21158,7 +21158,7 @@ const se_ModelBiasJobInput = (input: ModelBiasJobInput, context: __SerdeContext) return take(input, { BatchTransformInput: (_) => se_BatchTransformInput(_, context), EndpointInput: (_) => se_EndpointInput(_, context), - GroundTruthS3Input: (_) => _json(_), + GroundTruthS3Input: _json, }); }; @@ -21227,7 +21227,7 @@ const se_ModelQualityJobInput = (input: ModelQualityJobInput, context: __SerdeCo return take(input, { BatchTransformInput: (_) => se_BatchTransformInput(_, context), EndpointInput: (_) => se_EndpointInput(_, context), - GroundTruthS3Input: (_) => _json(_), + GroundTruthS3Input: _json, }); }; @@ -21281,15 +21281,15 @@ const se_MonitoringInputs = (input: MonitoringInput[], context: __SerdeContext): */ const se_MonitoringJobDefinition = (input: MonitoringJobDefinition, context: __SerdeContext): any => { return take(input, { - BaselineConfig: (_) => _json(_), - Environment: (_) => _json(_), - MonitoringAppSpecification: (_) => _json(_), + BaselineConfig: _json, + Environment: _json, + MonitoringAppSpecification: _json, MonitoringInputs: (_) => se_MonitoringInputs(_, context), - MonitoringOutputConfig: (_) => _json(_), - MonitoringResources: (_) => _json(_), - NetworkConfig: (_) => _json(_), + MonitoringOutputConfig: _json, + MonitoringResources: _json, + NetworkConfig: _json, RoleArn: [], - StoppingCondition: (_) => _json(_), + StoppingCondition: _json, }); }; @@ -21317,7 +21317,7 @@ const se_MonitoringScheduleConfig = (input: MonitoringScheduleConfig, context: _ MonitoringJobDefinition: (_) => se_MonitoringJobDefinition(_, context), MonitoringJobDefinitionName: [], MonitoringType: [], - ScheduleConfig: (_) => _json(_), + ScheduleConfig: _json, }); }; @@ -21418,14 +21418,14 @@ const se_ProductionVariant = (input: ProductionVariant, context: __SerdeContext) return take(input, { AcceleratorType: [], ContainerStartupHealthCheckTimeoutInSeconds: [], - CoreDumpConfig: (_) => _json(_), + CoreDumpConfig: _json, EnableSSMAccess: [], InitialInstanceCount: [], - InitialVariantWeight: (_) => __serializeFloat(_), + InitialVariantWeight: __serializeFloat, InstanceType: [], ModelDataDownloadTimeoutInSeconds: [], ModelName: [], - ServerlessConfig: (_) => _json(_), + ServerlessConfig: _json, VariantName: [], VolumeSizeInGB: [], }); @@ -21473,11 +21473,11 @@ const se_QueryFilters = (input: QueryFilters, context: __SerdeContext): any => { return take(input, { CreatedAfter: (_) => Math.round(_.getTime() / 1000), CreatedBefore: (_) => Math.round(_.getTime() / 1000), - LineageTypes: (_) => _json(_), + LineageTypes: _json, ModifiedAfter: (_) => Math.round(_.getTime() / 1000), ModifiedBefore: (_) => Math.round(_.getTime() / 1000), - Properties: (_) => _json(_), - Types: (_) => _json(_), + Properties: _json, + Types: _json, }); }; @@ -21492,7 +21492,7 @@ const se_QueryLineageRequest = (input: QueryLineageRequest, context: __SerdeCont MaxDepth: [], MaxResults: [], NextToken: [], - StartArns: (_) => _json(_), + StartArns: _json, }); }; @@ -21560,7 +21560,7 @@ const se_QueryLineageRequest = (input: QueryLineageRequest, context: __SerdeCont const se_RetryPipelineExecutionRequest = (input: RetryPipelineExecutionRequest, context: __SerdeContext): any => { return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), - ParallelismConfiguration: (_) => _json(_), + ParallelismConfiguration: _json, PipelineExecutionArn: [], }); }; @@ -21590,8 +21590,8 @@ const se_RetryPipelineExecutionRequest = (input: RetryPipelineExecutionRequest, */ const se_SearchExpression = (input: SearchExpression, context: __SerdeContext): any => { return take(input, { - Filters: (_) => _json(_), - NestedFilters: (_) => _json(_), + Filters: _json, + NestedFilters: _json, Operator: [], SubExpressions: (_) => se_SearchExpressionList(_, context), }); @@ -21648,7 +21648,7 @@ const se_SendPipelineExecutionStepSuccessRequest = ( return take(input, { CallbackToken: [], ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), - OutputParameters: (_) => _json(_), + OutputParameters: _json, }); }; @@ -21690,11 +21690,11 @@ const se_SendPipelineExecutionStepSuccessRequest = ( const se_StartPipelineExecutionRequest = (input: StartPipelineExecutionRequest, context: __SerdeContext): any => { return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), - ParallelismConfiguration: (_) => _json(_), + ParallelismConfiguration: _json, PipelineExecutionDescription: [], PipelineExecutionDisplayName: [], PipelineName: [], - PipelineParameters: (_) => _json(_), + PipelineParameters: _json, }); }; @@ -21832,9 +21832,9 @@ const se_TrialComponentParameterValue = (input: TrialComponentParameterValue, co */ const se_TuningJobCompletionCriteria = (input: TuningJobCompletionCriteria, context: __SerdeContext): any => { return take(input, { - BestObjectiveNotImproving: (_) => _json(_), - ConvergenceDetected: (_) => _json(_), - TargetObjectiveMetricValue: (_) => __serializeFloat(_), + BestObjectiveNotImproving: _json, + ConvergenceDetected: _json, + TargetObjectiveMetricValue: __serializeFloat, }); }; @@ -21890,12 +21890,12 @@ const se_UpdateEndpointWeightsAndCapacitiesInput = ( */ const se_UpdateInferenceExperimentRequest = (input: UpdateInferenceExperimentRequest, context: __SerdeContext): any => { return take(input, { - DataStorageConfig: (_) => _json(_), + DataStorageConfig: _json, Description: [], - ModelVariants: (_) => _json(_), + ModelVariants: _json, Name: [], Schedule: (_) => se_InferenceExperimentSchedule(_, context), - ShadowModeConfig: (_) => _json(_), + ShadowModeConfig: _json, }); }; @@ -21936,14 +21936,14 @@ const se_UpdateTrialComponentRequest = (input: UpdateTrialComponentRequest, cont return take(input, { DisplayName: [], EndTime: (_) => Math.round(_.getTime() / 1000), - InputArtifacts: (_) => _json(_), - InputArtifactsToRemove: (_) => _json(_), - OutputArtifacts: (_) => _json(_), - OutputArtifactsToRemove: (_) => _json(_), + InputArtifacts: _json, + InputArtifactsToRemove: _json, + OutputArtifacts: _json, + OutputArtifactsToRemove: _json, Parameters: (_) => se_TrialComponentParameters(_, context), - ParametersToRemove: (_) => _json(_), + ParametersToRemove: _json, StartTime: (_) => Math.round(_.getTime() / 1000), - Status: (_) => _json(_), + Status: _json, TrialComponentName: [], }); }; diff --git a/clients/client-secrets-manager/src/protocols/Aws_json1_1.ts b/clients/client-secrets-manager/src/protocols/Aws_json1_1.ts index 7733af29e8a3f..b903b83608e5c 100644 --- a/clients/client-secrets-manager/src/protocols/Aws_json1_1.ts +++ b/clients/client-secrets-manager/src/protocols/Aws_json1_1.ts @@ -1854,15 +1854,15 @@ const de_ResourceNotFoundExceptionRes = async ( */ const se_CreateSecretRequest = (input: CreateSecretRequest, context: __SerdeContext): any => { return take(input, { - AddReplicaRegions: (_) => _json(_), + AddReplicaRegions: _json, ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), Description: [], ForceOverwriteReplicaSecret: [], KmsKeyId: [], Name: [], - SecretBinary: (_) => context.base64Encoder(_), + SecretBinary: context.base64Encoder, SecretString: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -1896,10 +1896,10 @@ const se_CreateSecretRequest = (input: CreateSecretRequest, context: __SerdeCont const se_PutSecretValueRequest = (input: PutSecretValueRequest, context: __SerdeContext): any => { return take(input, { ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), - SecretBinary: (_) => context.base64Encoder(_), + SecretBinary: context.base64Encoder, SecretId: [], SecretString: [], - VersionStages: (_) => _json(_), + VersionStages: _json, }); }; @@ -1921,7 +1921,7 @@ const se_RotateSecretRequest = (input: RotateSecretRequest, context: __SerdeCont ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), RotateImmediately: [], RotationLambdaARN: [], - RotationRules: (_) => _json(_), + RotationRules: _json, SecretId: [], }); }; @@ -1950,7 +1950,7 @@ const se_UpdateSecretRequest = (input: UpdateSecretRequest, context: __SerdeCont ClientRequestToken: (_) => _ ?? generateIdempotencyToken(), Description: [], KmsKeyId: [], - SecretBinary: (_) => context.base64Encoder(_), + SecretBinary: context.base64Encoder, SecretId: [], SecretString: [], }); diff --git a/clients/client-securityhub/src/protocols/Aws_restJson1.ts b/clients/client-securityhub/src/protocols/Aws_restJson1.ts index f061a89097e5b..6db26b0b99384 100644 --- a/clients/client-securityhub/src/protocols/Aws_restJson1.ts +++ b/clients/client-securityhub/src/protocols/Aws_restJson1.ts @@ -6149,7 +6149,7 @@ const se_Action = (input: Action, context: __SerdeContext): any => { return take(input, { ActionType: [], AwsApiCallAction: (_) => se_AwsApiCallAction(_, context), - DnsRequestAction: (_) => _json(_), + DnsRequestAction: _json, NetworkConnectionAction: (_) => se_NetworkConnectionAction(_, context), PortProbeAction: (_) => se_PortProbeAction(_, context), }); @@ -6164,11 +6164,11 @@ const se_Action = (input: Action, context: __SerdeContext): any => { */ const se_ActionRemoteIpDetails = (input: ActionRemoteIpDetails, context: __SerdeContext): any => { return take(input, { - City: (_) => _json(_), - Country: (_) => _json(_), + City: _json, + Country: _json, GeoLocation: (_) => se_GeoLocation(_, context), IpAddressV4: [], - Organization: (_) => _json(_), + Organization: _json, }); }; @@ -6199,10 +6199,10 @@ const se_ActionRemoteIpDetails = (input: ActionRemoteIpDetails, context: __Serde */ const se_AwsApiCallAction = (input: AwsApiCallAction, context: __SerdeContext): any => { return take(input, { - AffectedResources: (_) => _json(_), + AffectedResources: _json, Api: [], CallerType: [], - DomainDetails: (_) => _json(_), + DomainDetails: _json, FirstSeen: [], LastSeen: [], RemoteIpDetails: (_) => se_ActionRemoteIpDetails(_, context), @@ -6220,8 +6220,8 @@ const se_AwsApiCallAction = (input: AwsApiCallAction, context: __SerdeContext): const se_AwsApiGatewayCanarySettings = (input: AwsApiGatewayCanarySettings, context: __SerdeContext): any => { return take(input, { DeploymentId: [], - PercentTraffic: (_) => __serializeFloat(_), - StageVariableOverrides: (_) => _json(_), + PercentTraffic: __serializeFloat, + StageVariableOverrides: _json, UseStageCache: [], }); }; @@ -6243,7 +6243,7 @@ const se_AwsApiGatewayMethodSettings = (input: AwsApiGatewayMethodSettings, cont RequireAuthorizationForCacheControl: [], ResourcePath: [], ThrottlingBurstLimit: [], - ThrottlingRateLimit: (_) => __serializeFloat(_), + ThrottlingRateLimit: __serializeFloat, UnauthorizedCacheControlHeaderStrategy: [], }); }; @@ -6266,7 +6266,7 @@ const se_AwsApiGatewayMethodSettingsList = (input: AwsApiGatewayMethodSettings[] */ const se_AwsApiGatewayStageDetails = (input: AwsApiGatewayStageDetails, context: __SerdeContext): any => { return take(input, { - AccessLogSettings: (_) => _json(_), + AccessLogSettings: _json, CacheClusterEnabled: [], CacheClusterSize: [], CacheClusterStatus: [], @@ -6280,7 +6280,7 @@ const se_AwsApiGatewayStageDetails = (input: AwsApiGatewayStageDetails, context: MethodSettings: (_) => se_AwsApiGatewayMethodSettingsList(_, context), StageName: [], TracingEnabled: [], - Variables: (_) => _json(_), + Variables: _json, WebAclArn: [], }); }; @@ -6296,7 +6296,7 @@ const se_AwsApiGatewayV2RouteSettings = (input: AwsApiGatewayV2RouteSettings, co DetailedMetricsEnabled: [], LoggingLevel: [], ThrottlingBurstLimit: [], - ThrottlingRateLimit: (_) => __serializeFloat(_), + ThrottlingRateLimit: __serializeFloat, }); }; @@ -6305,7 +6305,7 @@ const se_AwsApiGatewayV2RouteSettings = (input: AwsApiGatewayV2RouteSettings, co */ const se_AwsApiGatewayV2StageDetails = (input: AwsApiGatewayV2StageDetails, context: __SerdeContext): any => { return take(input, { - AccessLogSettings: (_) => _json(_), + AccessLogSettings: _json, ApiGatewayManaged: [], AutoDeploy: [], ClientCertificateId: [], @@ -6317,7 +6317,7 @@ const se_AwsApiGatewayV2StageDetails = (input: AwsApiGatewayV2StageDetails, cont LastUpdatedDate: [], RouteSettings: (_) => se_AwsApiGatewayV2RouteSettings(_, context), StageName: [], - StageVariables: (_) => _json(_), + StageVariables: _json, }); }; @@ -6457,24 +6457,24 @@ const se_AwsApiGatewayV2StageDetails = (input: AwsApiGatewayV2StageDetails, cont const se_AwsCloudWatchAlarmDetails = (input: AwsCloudWatchAlarmDetails, context: __SerdeContext): any => { return take(input, { ActionsEnabled: [], - AlarmActions: (_) => _json(_), + AlarmActions: _json, AlarmArn: [], AlarmConfigurationUpdatedTimestamp: [], AlarmDescription: [], AlarmName: [], ComparisonOperator: [], DatapointsToAlarm: [], - Dimensions: (_) => _json(_), + Dimensions: _json, EvaluateLowSampleCountPercentile: [], EvaluationPeriods: [], ExtendedStatistic: [], - InsufficientDataActions: (_) => _json(_), + InsufficientDataActions: _json, MetricName: [], Namespace: [], - OkActions: (_) => _json(_), + OkActions: _json, Period: [], Statistic: [], - Threshold: (_) => __serializeFloat(_), + Threshold: __serializeFloat, ThresholdMetricId: [], TreatMissingData: [], Unit: [], @@ -6582,35 +6582,35 @@ const se_AwsCloudWatchAlarmDetails = (input: AwsCloudWatchAlarmDetails, context: */ const se_AwsEc2LaunchTemplateDataDetails = (input: AwsEc2LaunchTemplateDataDetails, context: __SerdeContext): any => { return take(input, { - BlockDeviceMappingSet: (_) => _json(_), - CapacityReservationSpecification: (_) => _json(_), - CpuOptions: (_) => _json(_), - CreditSpecification: (_) => _json(_), + BlockDeviceMappingSet: _json, + CapacityReservationSpecification: _json, + CpuOptions: _json, + CreditSpecification: _json, DisableApiStop: [], DisableApiTermination: [], EbsOptimized: [], - ElasticGpuSpecificationSet: (_) => _json(_), - ElasticInferenceAcceleratorSet: (_) => _json(_), - EnclaveOptions: (_) => _json(_), - HibernationOptions: (_) => _json(_), - IamInstanceProfile: (_) => _json(_), + ElasticGpuSpecificationSet: _json, + ElasticInferenceAcceleratorSet: _json, + EnclaveOptions: _json, + HibernationOptions: _json, + IamInstanceProfile: _json, ImageId: [], InstanceInitiatedShutdownBehavior: [], - InstanceMarketOptions: (_) => _json(_), + InstanceMarketOptions: _json, InstanceRequirements: (_) => se_AwsEc2LaunchTemplateDataInstanceRequirementsDetails(_, context), InstanceType: [], KernelId: [], KeyName: [], - LicenseSet: (_) => _json(_), - MaintenanceOptions: (_) => _json(_), - MetadataOptions: (_) => _json(_), - Monitoring: (_) => _json(_), - NetworkInterfaceSet: (_) => _json(_), - Placement: (_) => _json(_), - PrivateDnsNameOptions: (_) => _json(_), + LicenseSet: _json, + MaintenanceOptions: _json, + MetadataOptions: _json, + Monitoring: _json, + NetworkInterfaceSet: _json, + Placement: _json, + PrivateDnsNameOptions: _json, RamDiskId: [], - SecurityGroupIdSet: (_) => _json(_), - SecurityGroupSet: (_) => _json(_), + SecurityGroupIdSet: _json, + SecurityGroupSet: _json, UserData: [], }); }; @@ -6647,27 +6647,27 @@ const se_AwsEc2LaunchTemplateDataInstanceRequirementsDetails = ( context: __SerdeContext ): any => { return take(input, { - AcceleratorCount: (_) => _json(_), - AcceleratorManufacturers: (_) => _json(_), - AcceleratorNames: (_) => _json(_), - AcceleratorTotalMemoryMiB: (_) => _json(_), - AcceleratorTypes: (_) => _json(_), + AcceleratorCount: _json, + AcceleratorManufacturers: _json, + AcceleratorNames: _json, + AcceleratorTotalMemoryMiB: _json, + AcceleratorTypes: _json, BareMetal: [], - BaselineEbsBandwidthMbps: (_) => _json(_), + BaselineEbsBandwidthMbps: _json, BurstablePerformance: [], - CpuManufacturers: (_) => _json(_), - ExcludedInstanceTypes: (_) => _json(_), - InstanceGenerations: (_) => _json(_), + CpuManufacturers: _json, + ExcludedInstanceTypes: _json, + InstanceGenerations: _json, LocalStorage: [], - LocalStorageTypes: (_) => _json(_), + LocalStorageTypes: _json, MemoryGiBPerVCpu: (_) => se_AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails(_, context), - MemoryMiB: (_) => _json(_), - NetworkInterfaceCount: (_) => _json(_), + MemoryMiB: _json, + NetworkInterfaceCount: _json, OnDemandMaxPricePercentageOverLowestPrice: [], RequireHibernateSupport: [], SpotMaxPricePercentageOverLowestPrice: [], TotalLocalStorageGB: (_) => se_AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails(_, context), - VCpuCount: (_) => _json(_), + VCpuCount: _json, }); }; @@ -6679,8 +6679,8 @@ const se_AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails = ( context: __SerdeContext ): any => { return take(input, { - Max: (_) => __serializeFloat(_), - Min: (_) => __serializeFloat(_), + Max: __serializeFloat, + Min: __serializeFloat, }); }; @@ -6696,8 +6696,8 @@ const se_AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails context: __SerdeContext ): any => { return take(input, { - Max: (_) => __serializeFloat(_), - Min: (_) => __serializeFloat(_), + Max: __serializeFloat, + Min: __serializeFloat, }); }; @@ -7164,7 +7164,7 @@ const se_AwsEc2LaunchTemplateDetails = (input: AwsEc2LaunchTemplateDetails, cont const se_AwsKmsKeyDetails = (input: AwsKmsKeyDetails, context: __SerdeContext): any => { return take(input, { AWSAccountId: [], - CreationDate: (_) => __serializeFloat(_), + CreationDate: __serializeFloat, Description: [], KeyId: [], KeyManager: [], @@ -7216,7 +7216,7 @@ const se_AwsNetworkFirewallRuleGroupDetails = ( return take(input, { Capacity: [], Description: [], - RuleGroup: (_) => _json(_), + RuleGroup: _json, RuleGroupArn: [], RuleGroupId: [], RuleGroupName: [], @@ -7355,44 +7355,44 @@ const se_AwsRedshiftClusterDetails = (input: AwsRedshiftClusterDetails, context: ClusterAvailabilityStatus: [], ClusterCreateTime: [], ClusterIdentifier: [], - ClusterNodes: (_) => _json(_), - ClusterParameterGroups: (_) => _json(_), + ClusterNodes: _json, + ClusterParameterGroups: _json, ClusterPublicKey: [], ClusterRevisionNumber: [], - ClusterSecurityGroups: (_) => _json(_), - ClusterSnapshotCopyStatus: (_) => _json(_), + ClusterSecurityGroups: _json, + ClusterSnapshotCopyStatus: _json, ClusterStatus: [], ClusterSubnetGroupName: [], ClusterVersion: [], DBName: [], - DeferredMaintenanceWindows: (_) => _json(_), - ElasticIpStatus: (_) => _json(_), + DeferredMaintenanceWindows: _json, + ElasticIpStatus: _json, ElasticResizeNumberOfNodeOptions: [], Encrypted: [], - Endpoint: (_) => _json(_), + Endpoint: _json, EnhancedVpcRouting: [], ExpectedNextSnapshotScheduleTime: [], ExpectedNextSnapshotScheduleTimeStatus: [], - HsmStatus: (_) => _json(_), - IamRoles: (_) => _json(_), + HsmStatus: _json, + IamRoles: _json, KmsKeyId: [], - LoggingStatus: (_) => _json(_), + LoggingStatus: _json, MaintenanceTrackName: [], ManualSnapshotRetentionPeriod: [], MasterUsername: [], NextMaintenanceWindowStartTime: [], NodeType: [], NumberOfNodes: [], - PendingActions: (_) => _json(_), - PendingModifiedValues: (_) => _json(_), + PendingActions: _json, + PendingModifiedValues: _json, PreferredMaintenanceWindow: [], PubliclyAccessible: [], - ResizeInfo: (_) => _json(_), + ResizeInfo: _json, RestoreStatus: (_) => se_AwsRedshiftClusterRestoreStatus(_, context), SnapshotScheduleIdentifier: [], SnapshotScheduleState: [], VpcId: [], - VpcSecurityGroups: (_) => _json(_), + VpcSecurityGroups: _json, }); }; @@ -7417,7 +7417,7 @@ const se_AwsRedshiftClusterDetails = (input: AwsRedshiftClusterDetails, context: */ const se_AwsRedshiftClusterRestoreStatus = (input: AwsRedshiftClusterRestoreStatus, context: __SerdeContext): any => { return take(input, { - CurrentRestoreRateInMegaBytesPerSecond: (_) => __serializeFloat(_), + CurrentRestoreRateInMegaBytesPerSecond: __serializeFloat, ElapsedTimeInSeconds: [], EstimatedTimeToCompletionInSeconds: [], ProgressInMegaBytes: [], @@ -7526,43 +7526,43 @@ const se_AwsSecurityFinding = (input: AwsSecurityFinding, context: __SerdeContex Action: (_) => se_Action(_, context), AwsAccountId: [], CompanyName: [], - Compliance: (_) => _json(_), + Compliance: _json, Confidence: [], CreatedAt: [], Criticality: [], Description: [], - FindingProviderFields: (_) => _json(_), + FindingProviderFields: _json, FirstObservedAt: [], GeneratorId: [], Id: [], LastObservedAt: [], - Malware: (_) => _json(_), - Network: (_) => _json(_), - NetworkPath: (_) => _json(_), - Note: (_) => _json(_), - PatchSummary: (_) => _json(_), - Process: (_) => _json(_), + Malware: _json, + Network: _json, + NetworkPath: _json, + Note: _json, + PatchSummary: _json, + Process: _json, ProductArn: [], - ProductFields: (_) => _json(_), + ProductFields: _json, ProductName: [], RecordState: [], Region: [], - RelatedFindings: (_) => _json(_), - Remediation: (_) => _json(_), + RelatedFindings: _json, + Remediation: _json, Resources: (_) => se_ResourceList(_, context), Sample: [], SchemaVersion: [], Severity: (_) => se_Severity(_, context), SourceUrl: [], - ThreatIntelIndicators: (_) => _json(_), - Threats: (_) => _json(_), + ThreatIntelIndicators: _json, + Threats: _json, Title: [], - Types: (_) => _json(_), + Types: _json, UpdatedAt: [], - UserDefinedFields: (_) => _json(_), + UserDefinedFields: _json, VerificationState: [], Vulnerabilities: (_) => se_VulnerabilityList(_, context), - Workflow: (_) => _json(_), + Workflow: _json, WorkflowState: [], }); }; @@ -7572,103 +7572,103 @@ const se_AwsSecurityFinding = (input: AwsSecurityFinding, context: __SerdeContex */ const se_AwsSecurityFindingFilters = (input: AwsSecurityFindingFilters, context: __SerdeContext): any => { return take(input, { - AwsAccountId: (_) => _json(_), - CompanyName: (_) => _json(_), - ComplianceAssociatedStandardsId: (_) => _json(_), - ComplianceSecurityControlId: (_) => _json(_), - ComplianceStatus: (_) => _json(_), + AwsAccountId: _json, + CompanyName: _json, + ComplianceAssociatedStandardsId: _json, + ComplianceSecurityControlId: _json, + ComplianceStatus: _json, Confidence: (_) => se_NumberFilterList(_, context), - CreatedAt: (_) => _json(_), + CreatedAt: _json, Criticality: (_) => se_NumberFilterList(_, context), - Description: (_) => _json(_), + Description: _json, FindingProviderFieldsConfidence: (_) => se_NumberFilterList(_, context), FindingProviderFieldsCriticality: (_) => se_NumberFilterList(_, context), - FindingProviderFieldsRelatedFindingsId: (_) => _json(_), - FindingProviderFieldsRelatedFindingsProductArn: (_) => _json(_), - FindingProviderFieldsSeverityLabel: (_) => _json(_), - FindingProviderFieldsSeverityOriginal: (_) => _json(_), - FindingProviderFieldsTypes: (_) => _json(_), - FirstObservedAt: (_) => _json(_), - GeneratorId: (_) => _json(_), - Id: (_) => _json(_), - Keyword: (_) => _json(_), - LastObservedAt: (_) => _json(_), - MalwareName: (_) => _json(_), - MalwarePath: (_) => _json(_), - MalwareState: (_) => _json(_), - MalwareType: (_) => _json(_), - NetworkDestinationDomain: (_) => _json(_), - NetworkDestinationIpV4: (_) => _json(_), - NetworkDestinationIpV6: (_) => _json(_), + FindingProviderFieldsRelatedFindingsId: _json, + FindingProviderFieldsRelatedFindingsProductArn: _json, + FindingProviderFieldsSeverityLabel: _json, + FindingProviderFieldsSeverityOriginal: _json, + FindingProviderFieldsTypes: _json, + FirstObservedAt: _json, + GeneratorId: _json, + Id: _json, + Keyword: _json, + LastObservedAt: _json, + MalwareName: _json, + MalwarePath: _json, + MalwareState: _json, + MalwareType: _json, + NetworkDestinationDomain: _json, + NetworkDestinationIpV4: _json, + NetworkDestinationIpV6: _json, NetworkDestinationPort: (_) => se_NumberFilterList(_, context), - NetworkDirection: (_) => _json(_), - NetworkProtocol: (_) => _json(_), - NetworkSourceDomain: (_) => _json(_), - NetworkSourceIpV4: (_) => _json(_), - NetworkSourceIpV6: (_) => _json(_), - NetworkSourceMac: (_) => _json(_), + NetworkDirection: _json, + NetworkProtocol: _json, + NetworkSourceDomain: _json, + NetworkSourceIpV4: _json, + NetworkSourceIpV6: _json, + NetworkSourceMac: _json, NetworkSourcePort: (_) => se_NumberFilterList(_, context), - NoteText: (_) => _json(_), - NoteUpdatedAt: (_) => _json(_), - NoteUpdatedBy: (_) => _json(_), - ProcessLaunchedAt: (_) => _json(_), - ProcessName: (_) => _json(_), + NoteText: _json, + NoteUpdatedAt: _json, + NoteUpdatedBy: _json, + ProcessLaunchedAt: _json, + ProcessName: _json, ProcessParentPid: (_) => se_NumberFilterList(_, context), - ProcessPath: (_) => _json(_), + ProcessPath: _json, ProcessPid: (_) => se_NumberFilterList(_, context), - ProcessTerminatedAt: (_) => _json(_), - ProductArn: (_) => _json(_), - ProductFields: (_) => _json(_), - ProductName: (_) => _json(_), - RecommendationText: (_) => _json(_), - RecordState: (_) => _json(_), - Region: (_) => _json(_), - RelatedFindingsId: (_) => _json(_), - RelatedFindingsProductArn: (_) => _json(_), - ResourceAwsEc2InstanceIamInstanceProfileArn: (_) => _json(_), - ResourceAwsEc2InstanceImageId: (_) => _json(_), - ResourceAwsEc2InstanceIpV4Addresses: (_) => _json(_), - ResourceAwsEc2InstanceIpV6Addresses: (_) => _json(_), - ResourceAwsEc2InstanceKeyName: (_) => _json(_), - ResourceAwsEc2InstanceLaunchedAt: (_) => _json(_), - ResourceAwsEc2InstanceSubnetId: (_) => _json(_), - ResourceAwsEc2InstanceType: (_) => _json(_), - ResourceAwsEc2InstanceVpcId: (_) => _json(_), - ResourceAwsIamAccessKeyCreatedAt: (_) => _json(_), - ResourceAwsIamAccessKeyPrincipalName: (_) => _json(_), - ResourceAwsIamAccessKeyStatus: (_) => _json(_), - ResourceAwsIamAccessKeyUserName: (_) => _json(_), - ResourceAwsIamUserUserName: (_) => _json(_), - ResourceAwsS3BucketOwnerId: (_) => _json(_), - ResourceAwsS3BucketOwnerName: (_) => _json(_), - ResourceContainerImageId: (_) => _json(_), - ResourceContainerImageName: (_) => _json(_), - ResourceContainerLaunchedAt: (_) => _json(_), - ResourceContainerName: (_) => _json(_), - ResourceDetailsOther: (_) => _json(_), - ResourceId: (_) => _json(_), - ResourcePartition: (_) => _json(_), - ResourceRegion: (_) => _json(_), - ResourceTags: (_) => _json(_), - ResourceType: (_) => _json(_), - Sample: (_) => _json(_), - SeverityLabel: (_) => _json(_), + ProcessTerminatedAt: _json, + ProductArn: _json, + ProductFields: _json, + ProductName: _json, + RecommendationText: _json, + RecordState: _json, + Region: _json, + RelatedFindingsId: _json, + RelatedFindingsProductArn: _json, + ResourceAwsEc2InstanceIamInstanceProfileArn: _json, + ResourceAwsEc2InstanceImageId: _json, + ResourceAwsEc2InstanceIpV4Addresses: _json, + ResourceAwsEc2InstanceIpV6Addresses: _json, + ResourceAwsEc2InstanceKeyName: _json, + ResourceAwsEc2InstanceLaunchedAt: _json, + ResourceAwsEc2InstanceSubnetId: _json, + ResourceAwsEc2InstanceType: _json, + ResourceAwsEc2InstanceVpcId: _json, + ResourceAwsIamAccessKeyCreatedAt: _json, + ResourceAwsIamAccessKeyPrincipalName: _json, + ResourceAwsIamAccessKeyStatus: _json, + ResourceAwsIamAccessKeyUserName: _json, + ResourceAwsIamUserUserName: _json, + ResourceAwsS3BucketOwnerId: _json, + ResourceAwsS3BucketOwnerName: _json, + ResourceContainerImageId: _json, + ResourceContainerImageName: _json, + ResourceContainerLaunchedAt: _json, + ResourceContainerName: _json, + ResourceDetailsOther: _json, + ResourceId: _json, + ResourcePartition: _json, + ResourceRegion: _json, + ResourceTags: _json, + ResourceType: _json, + Sample: _json, + SeverityLabel: _json, SeverityNormalized: (_) => se_NumberFilterList(_, context), SeverityProduct: (_) => se_NumberFilterList(_, context), - SourceUrl: (_) => _json(_), - ThreatIntelIndicatorCategory: (_) => _json(_), - ThreatIntelIndicatorLastObservedAt: (_) => _json(_), - ThreatIntelIndicatorSource: (_) => _json(_), - ThreatIntelIndicatorSourceUrl: (_) => _json(_), - ThreatIntelIndicatorType: (_) => _json(_), - ThreatIntelIndicatorValue: (_) => _json(_), - Title: (_) => _json(_), - Type: (_) => _json(_), - UpdatedAt: (_) => _json(_), - UserDefinedFields: (_) => _json(_), - VerificationState: (_) => _json(_), - WorkflowState: (_) => _json(_), - WorkflowStatus: (_) => _json(_), + SourceUrl: _json, + ThreatIntelIndicatorCategory: _json, + ThreatIntelIndicatorLastObservedAt: _json, + ThreatIntelIndicatorSource: _json, + ThreatIntelIndicatorSourceUrl: _json, + ThreatIntelIndicatorType: _json, + ThreatIntelIndicatorValue: _json, + Title: _json, + Type: _json, + UpdatedAt: _json, + UserDefinedFields: _json, + VerificationState: _json, + WorkflowState: _json, + WorkflowStatus: _json, }); }; @@ -7828,8 +7828,8 @@ const se_BatchImportFindingsRequestFindingList = (input: AwsSecurityFinding[], c */ const se_Cvss = (input: Cvss, context: __SerdeContext): any => { return take(input, { - Adjustments: (_) => _json(_), - BaseScore: (_) => __serializeFloat(_), + Adjustments: _json, + BaseScore: __serializeFloat, BaseVector: [], Source: [], Version: [], @@ -7886,8 +7886,8 @@ const se_CvssList = (input: Cvss[], context: __SerdeContext): any => { */ const se_GeoLocation = (input: GeoLocation, context: __SerdeContext): any => { return take(input, { - Lat: (_) => __serializeFloat(_), - Lon: (_) => __serializeFloat(_), + Lat: __serializeFloat, + Lon: __serializeFloat, }); }; @@ -7928,10 +7928,10 @@ const se_NetworkConnectionAction = (input: NetworkConnectionAction, context: __S return take(input, { Blocked: [], ConnectionDirection: [], - LocalPortDetails: (_) => _json(_), + LocalPortDetails: _json, Protocol: [], RemoteIpDetails: (_) => se_ActionRemoteIpDetails(_, context), - RemotePortDetails: (_) => _json(_), + RemotePortDetails: _json, }); }; @@ -7954,9 +7954,9 @@ const se_NetworkConnectionAction = (input: NetworkConnectionAction, context: __S */ const se_NumberFilter = (input: NumberFilter, context: __SerdeContext): any => { return take(input, { - Eq: (_) => __serializeFloat(_), - Gte: (_) => __serializeFloat(_), - Lte: (_) => __serializeFloat(_), + Eq: __serializeFloat, + Gte: __serializeFloat, + Lte: __serializeFloat, }); }; @@ -7994,8 +7994,8 @@ const se_PortProbeAction = (input: PortProbeAction, context: __SerdeContext): an */ const se_PortProbeDetail = (input: PortProbeDetail, context: __SerdeContext): any => { return take(input, { - LocalIpDetails: (_) => _json(_), - LocalPortDetails: (_) => _json(_), + LocalIpDetails: _json, + LocalPortDetails: _json, RemoteIpDetails: (_) => se_ActionRemoteIpDetails(_, context), }); }; @@ -8046,13 +8046,13 @@ const se_PortProbeDetailList = (input: PortProbeDetail[], context: __SerdeContex */ const se_Resource = (input: Resource, context: __SerdeContext): any => { return take(input, { - DataClassification: (_) => _json(_), + DataClassification: _json, Details: (_) => se_ResourceDetails(_, context), Id: [], Partition: [], Region: [], ResourceRole: [], - Tags: (_) => _json(_), + Tags: _json, Type: [], }); }; @@ -8062,90 +8062,90 @@ const se_Resource = (input: Resource, context: __SerdeContext): any => { */ const se_ResourceDetails = (input: ResourceDetails, context: __SerdeContext): any => { return take(input, { - AwsApiGatewayRestApi: (_) => _json(_), + AwsApiGatewayRestApi: _json, AwsApiGatewayStage: (_) => se_AwsApiGatewayStageDetails(_, context), - AwsApiGatewayV2Api: (_) => _json(_), + AwsApiGatewayV2Api: _json, AwsApiGatewayV2Stage: (_) => se_AwsApiGatewayV2StageDetails(_, context), - AwsAutoScalingAutoScalingGroup: (_) => _json(_), - AwsAutoScalingLaunchConfiguration: (_) => _json(_), - AwsBackupBackupPlan: (_) => _json(_), - AwsBackupBackupVault: (_) => _json(_), - AwsBackupRecoveryPoint: (_) => _json(_), - AwsCertificateManagerCertificate: (_) => _json(_), - AwsCloudFormationStack: (_) => _json(_), - AwsCloudFrontDistribution: (_) => _json(_), - AwsCloudTrailTrail: (_) => _json(_), + AwsAutoScalingAutoScalingGroup: _json, + AwsAutoScalingLaunchConfiguration: _json, + AwsBackupBackupPlan: _json, + AwsBackupBackupVault: _json, + AwsBackupRecoveryPoint: _json, + AwsCertificateManagerCertificate: _json, + AwsCloudFormationStack: _json, + AwsCloudFrontDistribution: _json, + AwsCloudTrailTrail: _json, AwsCloudWatchAlarm: (_) => se_AwsCloudWatchAlarmDetails(_, context), - AwsCodeBuildProject: (_) => _json(_), - AwsDynamoDbTable: (_) => _json(_), - AwsEc2Eip: (_) => _json(_), - AwsEc2Instance: (_) => _json(_), + AwsCodeBuildProject: _json, + AwsDynamoDbTable: _json, + AwsEc2Eip: _json, + AwsEc2Instance: _json, AwsEc2LaunchTemplate: (_) => se_AwsEc2LaunchTemplateDetails(_, context), - AwsEc2NetworkAcl: (_) => _json(_), - AwsEc2NetworkInterface: (_) => _json(_), - AwsEc2RouteTable: (_) => _json(_), - AwsEc2SecurityGroup: (_) => _json(_), - AwsEc2Subnet: (_) => _json(_), - AwsEc2TransitGateway: (_) => _json(_), - AwsEc2Volume: (_) => _json(_), - AwsEc2Vpc: (_) => _json(_), - AwsEc2VpcEndpointService: (_) => _json(_), - AwsEc2VpcPeeringConnection: (_) => _json(_), - AwsEc2VpnConnection: (_) => _json(_), - AwsEcrContainerImage: (_) => _json(_), - AwsEcrRepository: (_) => _json(_), - AwsEcsCluster: (_) => _json(_), - AwsEcsContainer: (_) => _json(_), - AwsEcsService: (_) => _json(_), - AwsEcsTask: (_) => _json(_), - AwsEcsTaskDefinition: (_) => _json(_), - AwsEfsAccessPoint: (_) => _json(_), - AwsEksCluster: (_) => _json(_), - AwsElasticBeanstalkEnvironment: (_) => _json(_), - AwsElasticsearchDomain: (_) => _json(_), - AwsElbLoadBalancer: (_) => _json(_), - AwsElbv2LoadBalancer: (_) => _json(_), - AwsIamAccessKey: (_) => _json(_), - AwsIamGroup: (_) => _json(_), - AwsIamPolicy: (_) => _json(_), - AwsIamRole: (_) => _json(_), - AwsIamUser: (_) => _json(_), - AwsKinesisStream: (_) => _json(_), + AwsEc2NetworkAcl: _json, + AwsEc2NetworkInterface: _json, + AwsEc2RouteTable: _json, + AwsEc2SecurityGroup: _json, + AwsEc2Subnet: _json, + AwsEc2TransitGateway: _json, + AwsEc2Volume: _json, + AwsEc2Vpc: _json, + AwsEc2VpcEndpointService: _json, + AwsEc2VpcPeeringConnection: _json, + AwsEc2VpnConnection: _json, + AwsEcrContainerImage: _json, + AwsEcrRepository: _json, + AwsEcsCluster: _json, + AwsEcsContainer: _json, + AwsEcsService: _json, + AwsEcsTask: _json, + AwsEcsTaskDefinition: _json, + AwsEfsAccessPoint: _json, + AwsEksCluster: _json, + AwsElasticBeanstalkEnvironment: _json, + AwsElasticsearchDomain: _json, + AwsElbLoadBalancer: _json, + AwsElbv2LoadBalancer: _json, + AwsIamAccessKey: _json, + AwsIamGroup: _json, + AwsIamPolicy: _json, + AwsIamRole: _json, + AwsIamUser: _json, + AwsKinesisStream: _json, AwsKmsKey: (_) => se_AwsKmsKeyDetails(_, context), - AwsLambdaFunction: (_) => _json(_), - AwsLambdaLayerVersion: (_) => _json(_), - AwsNetworkFirewallFirewall: (_) => _json(_), - AwsNetworkFirewallFirewallPolicy: (_) => _json(_), + AwsLambdaFunction: _json, + AwsLambdaLayerVersion: _json, + AwsNetworkFirewallFirewall: _json, + AwsNetworkFirewallFirewallPolicy: _json, AwsNetworkFirewallRuleGroup: (_) => se_AwsNetworkFirewallRuleGroupDetails(_, context), - AwsOpenSearchServiceDomain: (_) => _json(_), - AwsRdsDbCluster: (_) => _json(_), - AwsRdsDbClusterSnapshot: (_) => _json(_), - AwsRdsDbInstance: (_) => _json(_), - AwsRdsDbSecurityGroup: (_) => _json(_), - AwsRdsDbSnapshot: (_) => _json(_), - AwsRdsEventSubscription: (_) => _json(_), + AwsOpenSearchServiceDomain: _json, + AwsRdsDbCluster: _json, + AwsRdsDbClusterSnapshot: _json, + AwsRdsDbInstance: _json, + AwsRdsDbSecurityGroup: _json, + AwsRdsDbSnapshot: _json, + AwsRdsEventSubscription: _json, AwsRedshiftCluster: (_) => se_AwsRedshiftClusterDetails(_, context), - AwsS3AccountPublicAccessBlock: (_) => _json(_), - AwsS3Bucket: (_) => _json(_), - AwsS3Object: (_) => _json(_), - AwsSageMakerNotebookInstance: (_) => _json(_), - AwsSecretsManagerSecret: (_) => _json(_), - AwsSnsTopic: (_) => _json(_), - AwsSqsQueue: (_) => _json(_), - AwsSsmPatchCompliance: (_) => _json(_), - AwsWafRateBasedRule: (_) => _json(_), - AwsWafRegionalRateBasedRule: (_) => _json(_), - AwsWafRegionalRule: (_) => _json(_), - AwsWafRegionalRuleGroup: (_) => _json(_), - AwsWafRegionalWebAcl: (_) => _json(_), - AwsWafRule: (_) => _json(_), - AwsWafRuleGroup: (_) => _json(_), - AwsWafWebAcl: (_) => _json(_), - AwsWafv2RuleGroup: (_) => _json(_), - AwsWafv2WebAcl: (_) => _json(_), - AwsXrayEncryptionConfig: (_) => _json(_), - Container: (_) => _json(_), - Other: (_) => _json(_), + AwsS3AccountPublicAccessBlock: _json, + AwsS3Bucket: _json, + AwsS3Object: _json, + AwsSageMakerNotebookInstance: _json, + AwsSecretsManagerSecret: _json, + AwsSnsTopic: _json, + AwsSqsQueue: _json, + AwsSsmPatchCompliance: _json, + AwsWafRateBasedRule: _json, + AwsWafRegionalRateBasedRule: _json, + AwsWafRegionalRule: _json, + AwsWafRegionalRuleGroup: _json, + AwsWafRegionalWebAcl: _json, + AwsWafRule: _json, + AwsWafRuleGroup: _json, + AwsWafWebAcl: _json, + AwsWafv2RuleGroup: _json, + AwsWafv2WebAcl: _json, + AwsXrayEncryptionConfig: _json, + Container: _json, + Other: _json, }); }; @@ -8242,7 +8242,7 @@ const se_Severity = (input: Severity, context: __SerdeContext): any => { Label: [], Normalized: [], Original: [], - Product: (_) => __serializeFloat(_), + Product: __serializeFloat, }); }; @@ -8253,7 +8253,7 @@ const se_SeverityUpdate = (input: SeverityUpdate, context: __SerdeContext): any return take(input, { Label: [], Normalized: [], - Product: (_) => __serializeFloat(_), + Product: __serializeFloat, }); }; @@ -8333,10 +8333,10 @@ const se_Vulnerability = (input: Vulnerability, context: __SerdeContext): any => Cvss: (_) => se_CvssList(_, context), FixAvailable: [], Id: [], - ReferenceUrls: (_) => _json(_), - RelatedVulnerabilities: (_) => _json(_), - Vendor: (_) => _json(_), - VulnerablePackages: (_) => _json(_), + ReferenceUrls: _json, + RelatedVulnerabilities: _json, + Vendor: _json, + VulnerablePackages: _json, }); }; diff --git a/clients/client-serverlessapplicationrepository/src/protocols/Aws_restJson1.ts b/clients/client-serverlessapplicationrepository/src/protocols/Aws_restJson1.ts index 1623b46e05f9b..157446e18fa74 100644 --- a/clients/client-serverlessapplicationrepository/src/protocols/Aws_restJson1.ts +++ b/clients/client-serverlessapplicationrepository/src/protocols/Aws_restJson1.ts @@ -1654,9 +1654,9 @@ const se___listOfTag = (input: Tag[], context: __SerdeContext): any => { */ const se_ApplicationPolicyStatement = (input: ApplicationPolicyStatement, context: __SerdeContext): any => { return take(input, { - actions: [, (_) => _json(_), `Actions`], - principalOrgIDs: [, (_) => _json(_), `PrincipalOrgIDs`], - principals: [, (_) => _json(_), `Principals`], + actions: [, _json, `Actions`], + principalOrgIDs: [, _json, `PrincipalOrgIDs`], + principals: [, _json, `Principals`], statementId: [, , `StatementId`], }); }; diff --git a/clients/client-service-catalog/src/protocols/Aws_json1_1.ts b/clients/client-service-catalog/src/protocols/Aws_json1_1.ts index f0f614714cd98..7aee7251c7435 100644 --- a/clients/client-service-catalog/src/protocols/Aws_json1_1.ts +++ b/clients/client-service-catalog/src/protocols/Aws_json1_1.ts @@ -6299,10 +6299,10 @@ const de_TagOptionNotMigratedExceptionRes = async ( const se_CopyProductInput = (input: CopyProductInput, context: __SerdeContext): any => { return take(input, { AcceptLanguage: [], - CopyOptions: (_) => _json(_), + CopyOptions: _json, IdempotencyToken: (_) => _ ?? generateIdempotencyToken(), SourceProductArn: [], - SourceProvisioningArtifactIdentifiers: (_) => _json(_), + SourceProvisioningArtifactIdentifiers: _json, TargetProductId: [], TargetProductName: [], }); @@ -6333,7 +6333,7 @@ const se_CreatePortfolioInput = (input: CreatePortfolioInput, context: __SerdeCo DisplayName: [], IdempotencyToken: (_) => _ ?? generateIdempotencyToken(), ProviderName: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -6351,12 +6351,12 @@ const se_CreateProductInput = (input: CreateProductInput, context: __SerdeContex Name: [], Owner: [], ProductType: [], - ProvisioningArtifactParameters: (_) => _json(_), - SourceConnection: (_) => _json(_), + ProvisioningArtifactParameters: _json, + SourceConnection: _json, SupportDescription: [], SupportEmail: [], SupportUrl: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -6370,15 +6370,15 @@ const se_CreateProvisionedProductPlanInput = ( return take(input, { AcceptLanguage: [], IdempotencyToken: (_) => _ ?? generateIdempotencyToken(), - NotificationArns: (_) => _json(_), + NotificationArns: _json, PathId: [], PlanName: [], PlanType: [], ProductId: [], ProvisionedProductName: [], ProvisioningArtifactId: [], - ProvisioningParameters: (_) => _json(_), - Tags: (_) => _json(_), + ProvisioningParameters: _json, + Tags: _json, }); }; @@ -6389,7 +6389,7 @@ const se_CreateProvisioningArtifactInput = (input: CreateProvisioningArtifactInp return take(input, { AcceptLanguage: [], IdempotencyToken: (_) => _ ?? generateIdempotencyToken(), - Parameters: (_) => _json(_), + Parameters: _json, ProductId: [], }); }; @@ -6400,7 +6400,7 @@ const se_CreateProvisioningArtifactInput = (input: CreateProvisioningArtifactInp const se_CreateServiceActionInput = (input: CreateServiceActionInput, context: __SerdeContext): any => { return take(input, { AcceptLanguage: [], - Definition: (_) => _json(_), + Definition: _json, DefinitionType: [], Description: [], IdempotencyToken: (_) => _ ?? generateIdempotencyToken(), @@ -6498,7 +6498,7 @@ const se_ExecuteProvisionedProductServiceActionInput = ( return take(input, { AcceptLanguage: [], ExecuteToken: (_) => _ ?? generateIdempotencyToken(), - Parameters: (_) => _json(_), + Parameters: _json, ProvisionedProductId: [], ServiceActionId: [], }); @@ -6578,9 +6578,9 @@ const se_NotifyProvisionProductEngineWorkflowResultInput = ( return take(input, { FailureReason: [], IdempotencyToken: (_) => _ ?? generateIdempotencyToken(), - Outputs: (_) => _json(_), + Outputs: _json, RecordId: [], - ResourceIdentifier: (_) => _json(_), + ResourceIdentifier: _json, Status: [], WorkflowToken: [], }); @@ -6612,7 +6612,7 @@ const se_NotifyUpdateProvisionedProductEngineWorkflowResultInput = ( return take(input, { FailureReason: [], IdempotencyToken: (_) => _ ?? generateIdempotencyToken(), - Outputs: (_) => _json(_), + Outputs: _json, RecordId: [], Status: [], WorkflowToken: [], @@ -6649,7 +6649,7 @@ const se_NotifyUpdateProvisionedProductEngineWorkflowResultInput = ( const se_ProvisionProductInput = (input: ProvisionProductInput, context: __SerdeContext): any => { return take(input, { AcceptLanguage: [], - NotificationArns: (_) => _json(_), + NotificationArns: _json, PathId: [], PathName: [], ProductId: [], @@ -6658,9 +6658,9 @@ const se_ProvisionProductInput = (input: ProvisionProductInput, context: __Serde ProvisionedProductName: [], ProvisioningArtifactId: [], ProvisioningArtifactName: [], - ProvisioningParameters: (_) => _json(_), - ProvisioningPreferences: (_) => _json(_), - Tags: (_) => _json(_), + ProvisioningParameters: _json, + ProvisioningPreferences: _json, + Tags: _json, }); }; @@ -6740,9 +6740,9 @@ const se_UpdateProvisionedProductInput = (input: UpdateProvisionedProductInput, ProvisionedProductName: [], ProvisioningArtifactId: [], ProvisioningArtifactName: [], - ProvisioningParameters: (_) => _json(_), - ProvisioningPreferences: (_) => _json(_), - Tags: (_) => _json(_), + ProvisioningParameters: _json, + ProvisioningPreferences: _json, + Tags: _json, UpdateToken: (_) => _ ?? generateIdempotencyToken(), }); }; @@ -6758,7 +6758,7 @@ const se_UpdateProvisionedProductPropertiesInput = ( AcceptLanguage: [], IdempotencyToken: (_) => _ ?? generateIdempotencyToken(), ProvisionedProductId: [], - ProvisionedProductProperties: (_) => _json(_), + ProvisionedProductProperties: _json, }); }; diff --git a/clients/client-service-quotas/src/protocols/Aws_json1_1.ts b/clients/client-service-quotas/src/protocols/Aws_json1_1.ts index 1112a922b29b6..fe155e2a6e498 100644 --- a/clients/client-service-quotas/src/protocols/Aws_json1_1.ts +++ b/clients/client-service-quotas/src/protocols/Aws_json1_1.ts @@ -1902,7 +1902,7 @@ const se_PutServiceQuotaIncreaseRequestIntoTemplateRequest = ( ): any => { return take(input, { AwsRegion: [], - DesiredValue: (_) => __serializeFloat(_), + DesiredValue: __serializeFloat, QuotaCode: [], ServiceCode: [], }); @@ -1916,7 +1916,7 @@ const se_RequestServiceQuotaIncreaseRequest = ( context: __SerdeContext ): any => { return take(input, { - DesiredValue: (_) => __serializeFloat(_), + DesiredValue: __serializeFloat, QuotaCode: [], ServiceCode: [], }); diff --git a/clients/client-servicediscovery/src/protocols/Aws_json1_1.ts b/clients/client-servicediscovery/src/protocols/Aws_json1_1.ts index 8e39b6be517ed..b9644f1f2510d 100644 --- a/clients/client-servicediscovery/src/protocols/Aws_json1_1.ts +++ b/clients/client-servicediscovery/src/protocols/Aws_json1_1.ts @@ -2079,7 +2079,7 @@ const se_CreateHttpNamespaceRequest = (input: CreateHttpNamespaceRequest, contex CreatorRequestId: (_) => _ ?? generateIdempotencyToken(), Description: [], Name: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -2091,8 +2091,8 @@ const se_CreatePrivateDnsNamespaceRequest = (input: CreatePrivateDnsNamespaceReq CreatorRequestId: (_) => _ ?? generateIdempotencyToken(), Description: [], Name: [], - Properties: (_) => _json(_), - Tags: (_) => _json(_), + Properties: _json, + Tags: _json, Vpc: [], }); }; @@ -2105,8 +2105,8 @@ const se_CreatePublicDnsNamespaceRequest = (input: CreatePublicDnsNamespaceReque CreatorRequestId: (_) => _ ?? generateIdempotencyToken(), Description: [], Name: [], - Properties: (_) => _json(_), - Tags: (_) => _json(_), + Properties: _json, + Tags: _json, }); }; @@ -2117,12 +2117,12 @@ const se_CreateServiceRequest = (input: CreateServiceRequest, context: __SerdeCo return take(input, { CreatorRequestId: (_) => _ ?? generateIdempotencyToken(), Description: [], - DnsConfig: (_) => _json(_), - HealthCheckConfig: (_) => _json(_), - HealthCheckCustomConfig: (_) => _json(_), + DnsConfig: _json, + HealthCheckConfig: _json, + HealthCheckCustomConfig: _json, Name: [], NamespaceId: [], - Tags: (_) => _json(_), + Tags: _json, Type: [], }); }; @@ -2206,7 +2206,7 @@ const se_CreateServiceRequest = (input: CreateServiceRequest, context: __SerdeCo */ const se_RegisterInstanceRequest = (input: RegisterInstanceRequest, context: __SerdeContext): any => { return take(input, { - Attributes: (_) => _json(_), + Attributes: _json, CreatorRequestId: (_) => _ ?? generateIdempotencyToken(), InstanceId: [], ServiceId: [], @@ -2239,7 +2239,7 @@ const se_RegisterInstanceRequest = (input: RegisterInstanceRequest, context: __S const se_UpdateHttpNamespaceRequest = (input: UpdateHttpNamespaceRequest, context: __SerdeContext): any => { return take(input, { Id: [], - Namespace: (_) => _json(_), + Namespace: _json, UpdaterRequestId: (_) => _ ?? generateIdempotencyToken(), }); }; @@ -2252,7 +2252,7 @@ const se_UpdateHttpNamespaceRequest = (input: UpdateHttpNamespaceRequest, contex const se_UpdatePrivateDnsNamespaceRequest = (input: UpdatePrivateDnsNamespaceRequest, context: __SerdeContext): any => { return take(input, { Id: [], - Namespace: (_) => _json(_), + Namespace: _json, UpdaterRequestId: (_) => _ ?? generateIdempotencyToken(), }); }; @@ -2263,7 +2263,7 @@ const se_UpdatePrivateDnsNamespaceRequest = (input: UpdatePrivateDnsNamespaceReq const se_UpdatePublicDnsNamespaceRequest = (input: UpdatePublicDnsNamespaceRequest, context: __SerdeContext): any => { return take(input, { Id: [], - Namespace: (_) => _json(_), + Namespace: _json, UpdaterRequestId: (_) => _ ?? generateIdempotencyToken(), }); }; diff --git a/clients/client-sesv2/src/protocols/Aws_restJson1.ts b/clients/client-sesv2/src/protocols/Aws_restJson1.ts index 841aa106b1265..6770909394a3d 100644 --- a/clients/client-sesv2/src/protocols/Aws_restJson1.ts +++ b/clients/client-sesv2/src/protocols/Aws_restJson1.ts @@ -8083,7 +8083,7 @@ const se_BatchGetMetricDataQueries = (input: BatchGetMetricDataQuery[], context: */ const se_BatchGetMetricDataQuery = (input: BatchGetMetricDataQuery, context: __SerdeContext): any => { return take(input, { - Dimensions: (_) => _json(_), + Dimensions: _json, EndDate: (_) => Math.round(_.getTime() / 1000), Id: [], Metric: [], @@ -8131,7 +8131,7 @@ const se_DomainDeliverabilityTrackingOption = ( ): any => { return take(input, { Domain: [], - InboxPlacementTrackingOption: (_) => _json(_), + InboxPlacementTrackingOption: _json, SubscriptionStartDate: (_) => Math.round(_.getTime() / 1000), }); }; @@ -8158,8 +8158,8 @@ const se_DomainDeliverabilityTrackingOptions = ( const se_EmailContent = (input: EmailContent, context: __SerdeContext): any => { return take(input, { Raw: (_) => se_RawMessage(_, context), - Simple: (_) => _json(_), - Template: (_) => _json(_), + Simple: _json, + Template: _json, }); }; @@ -8202,7 +8202,7 @@ const se_EmailContent = (input: EmailContent, context: __SerdeContext): any => { */ const se_RawMessage = (input: RawMessage, context: __SerdeContext): any => { return take(input, { - Data: (_) => context.base64Encoder(_), + Data: context.base64Encoder, }); }; diff --git a/clients/client-sfn/src/protocols/Aws_json1_0.ts b/clients/client-sfn/src/protocols/Aws_json1_0.ts index 00a2d0a4d0908..c72dd3ed480e9 100644 --- a/clients/client-sfn/src/protocols/Aws_json1_0.ts +++ b/clients/client-sfn/src/protocols/Aws_json1_0.ts @@ -2313,7 +2313,7 @@ const se_UpdateMapRunInput = (input: UpdateMapRunInput, context: __SerdeContext) mapRunArn: [], maxConcurrency: [], toleratedFailureCount: [], - toleratedFailurePercentage: (_) => __serializeFloat(_), + toleratedFailurePercentage: __serializeFloat, }); }; diff --git a/clients/client-shield/src/protocols/Aws_json1_1.ts b/clients/client-shield/src/protocols/Aws_json1_1.ts index d1fbfe951b99d..2f487c33631c2 100644 --- a/clients/client-shield/src/protocols/Aws_json1_1.ts +++ b/clients/client-shield/src/protocols/Aws_json1_1.ts @@ -2922,7 +2922,7 @@ const se_ListAttacksRequest = (input: ListAttacksRequest, context: __SerdeContex EndTime: (_) => se_TimeRange(_, context), MaxResults: [], NextToken: [], - ResourceArns: (_) => _json(_), + ResourceArns: _json, StartTime: (_) => se_TimeRange(_, context), }); }; diff --git a/clients/client-sms/src/protocols/Aws_json1_1.ts b/clients/client-sms/src/protocols/Aws_json1_1.ts index 471a952ccb479..79deb4d7af71c 100644 --- a/clients/client-sms/src/protocols/Aws_json1_1.ts +++ b/clients/client-sms/src/protocols/Aws_json1_1.ts @@ -3004,7 +3004,7 @@ const se_ServerGroupReplicationConfigurations = ( */ const se_ServerReplicationConfiguration = (input: ServerReplicationConfiguration, context: __SerdeContext): any => { return take(input, { - server: (_) => _json(_), + server: _json, serverReplicationParameters: (_) => se_ServerReplicationParameters(_, context), }); }; diff --git a/clients/client-ssm-contacts/src/protocols/Aws_json1_1.ts b/clients/client-ssm-contacts/src/protocols/Aws_json1_1.ts index eb85ba8e1f5af..49f76ecbce630 100644 --- a/clients/client-ssm-contacts/src/protocols/Aws_json1_1.ts +++ b/clients/client-ssm-contacts/src/protocols/Aws_json1_1.ts @@ -3151,7 +3151,7 @@ const se_CreateContactChannelRequest = (input: CreateContactChannelRequest, cont return take(input, { ContactId: [], DeferActivation: [], - DeliveryAddress: (_) => _json(_), + DeliveryAddress: _json, IdempotencyToken: (_) => _ ?? generateIdempotencyToken(), Name: [], Type: [], @@ -3166,8 +3166,8 @@ const se_CreateContactRequest = (input: CreateContactRequest, context: __SerdeCo Alias: [], DisplayName: [], IdempotencyToken: (_) => _ ?? generateIdempotencyToken(), - Plan: (_) => _json(_), - Tags: (_) => _json(_), + Plan: _json, + Tags: _json, Type: [], }); }; @@ -3179,7 +3179,7 @@ const se_CreateRotationOverrideRequest = (input: CreateRotationOverrideRequest, return take(input, { EndTime: (_) => Math.round(_.getTime() / 1000), IdempotencyToken: [], - NewContactIds: (_) => _json(_), + NewContactIds: _json, RotationId: [], StartTime: (_) => Math.round(_.getTime() / 1000), }); @@ -3190,12 +3190,12 @@ const se_CreateRotationOverrideRequest = (input: CreateRotationOverrideRequest, */ const se_CreateRotationRequest = (input: CreateRotationRequest, context: __SerdeContext): any => { return take(input, { - ContactIds: (_) => _json(_), + ContactIds: _json, IdempotencyToken: [], Name: [], - Recurrence: (_) => _json(_), + Recurrence: _json, StartTime: (_) => Math.round(_.getTime() / 1000), - Tags: (_) => _json(_), + Tags: _json, TimeZoneId: [], }); }; @@ -3259,10 +3259,10 @@ const se_ListPreviewRotationShiftsRequest = (input: ListPreviewRotationShiftsReq return take(input, { EndTime: (_) => Math.round(_.getTime() / 1000), MaxResults: [], - Members: (_) => _json(_), + Members: _json, NextToken: [], Overrides: (_) => se_OverrideList(_, context), - Recurrence: (_) => _json(_), + Recurrence: _json, RotationStartTime: (_) => Math.round(_.getTime() / 1000), StartTime: (_) => Math.round(_.getTime() / 1000), TimeZoneId: [], @@ -3322,7 +3322,7 @@ const se_OverrideList = (input: PreviewOverride[], context: __SerdeContext): any const se_PreviewOverride = (input: PreviewOverride, context: __SerdeContext): any => { return take(input, { EndTime: (_) => Math.round(_.getTime() / 1000), - NewMembers: (_) => _json(_), + NewMembers: _json, StartTime: (_) => Math.round(_.getTime() / 1000), }); }; @@ -3400,8 +3400,8 @@ const se_TimeRange = (input: TimeRange, context: __SerdeContext): any => { */ const se_UpdateRotationRequest = (input: UpdateRotationRequest, context: __SerdeContext): any => { return take(input, { - ContactIds: (_) => _json(_), - Recurrence: (_) => _json(_), + ContactIds: _json, + Recurrence: _json, RotationId: [], StartTime: (_) => Math.round(_.getTime() / 1000), TimeZoneId: [], diff --git a/clients/client-ssm/src/protocols/Aws_json1_1.ts b/clients/client-ssm/src/protocols/Aws_json1_1.ts index 67e9e451dc967..d5d42c8f3525f 100644 --- a/clients/client-ssm/src/protocols/Aws_json1_1.ts +++ b/clients/client-ssm/src/protocols/Aws_json1_1.ts @@ -12207,8 +12207,8 @@ const se_CreateActivationRequest = (input: CreateActivationRequest, context: __S ExpirationDate: (_) => Math.round(_.getTime() / 1000), IamRole: [], RegistrationLimit: [], - RegistrationMetadata: (_) => _json(_), - Tags: (_) => _json(_), + RegistrationMetadata: _json, + Tags: _json, }); }; @@ -12238,7 +12238,7 @@ const se_CreateMaintenanceWindowRequest = (input: CreateMaintenanceWindowRequest ScheduleOffset: [], ScheduleTimezone: [], StartDate: [], - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -12252,16 +12252,16 @@ const se_CreateOpsItemRequest = (input: CreateOpsItemRequest, context: __SerdeCo ActualStartTime: (_) => Math.round(_.getTime() / 1000), Category: [], Description: [], - Notifications: (_) => _json(_), - OperationalData: (_) => _json(_), + Notifications: _json, + OperationalData: _json, OpsItemType: [], PlannedEndTime: (_) => Math.round(_.getTime() / 1000), PlannedStartTime: (_) => Math.round(_.getTime() / 1000), Priority: [], - RelatedOpsItems: (_) => _json(_), + RelatedOpsItems: _json, Severity: [], Source: [], - Tags: (_) => _json(_), + Tags: _json, Title: [], }); }; @@ -12273,19 +12273,19 @@ const se_CreateOpsItemRequest = (input: CreateOpsItemRequest, context: __SerdeCo */ const se_CreatePatchBaselineRequest = (input: CreatePatchBaselineRequest, context: __SerdeContext): any => { return take(input, { - ApprovalRules: (_) => _json(_), - ApprovedPatches: (_) => _json(_), + ApprovalRules: _json, + ApprovedPatches: _json, ApprovedPatchesComplianceLevel: [], ApprovedPatchesEnableNonSecurity: [], ClientToken: (_) => _ ?? generateIdempotencyToken(), Description: [], - GlobalFilters: (_) => _json(_), + GlobalFilters: _json, Name: [], OperatingSystem: [], - RejectedPatches: (_) => _json(_), + RejectedPatches: _json, RejectedPatchesAction: [], - Sources: (_) => _json(_), - Tags: (_) => _json(_), + Sources: _json, + Tags: _json, }); }; @@ -12441,10 +12441,10 @@ const se_DeleteInventoryRequest = (input: DeleteInventoryRequest, context: __Ser const se_GetInventoryRequest = (input: GetInventoryRequest, context: __SerdeContext): any => { return take(input, { Aggregators: (_) => se_InventoryAggregatorList(_, context), - Filters: (_) => _json(_), + Filters: _json, MaxResults: [], NextToken: [], - ResultAttributes: (_) => _json(_), + ResultAttributes: _json, }); }; @@ -12470,10 +12470,10 @@ const se_GetInventoryRequest = (input: GetInventoryRequest, context: __SerdeCont const se_GetOpsSummaryRequest = (input: GetOpsSummaryRequest, context: __SerdeContext): any => { return take(input, { Aggregators: (_) => se_OpsAggregatorList(_, context), - Filters: (_) => _json(_), + Filters: _json, MaxResults: [], NextToken: [], - ResultAttributes: (_) => _json(_), + ResultAttributes: _json, SyncName: [], }); }; @@ -12521,7 +12521,7 @@ const se_InventoryAggregator = (input: InventoryAggregator, context: __SerdeCont return take(input, { Aggregators: (_) => se_InventoryAggregatorList(_, context), Expression: [], - Groups: (_) => _json(_), + Groups: _json, }); }; @@ -12611,7 +12611,7 @@ const se_MaintenanceWindowLambdaParameters = ( ): any => { return take(input, { ClientContext: [], - Payload: (_) => context.base64Encoder(_), + Payload: context.base64Encoder, Qualifier: [], }); }; @@ -12628,10 +12628,10 @@ const se_MaintenanceWindowTaskInvocationParameters = ( context: __SerdeContext ): any => { return take(input, { - Automation: (_) => _json(_), + Automation: _json, Lambda: (_) => se_MaintenanceWindowLambdaParameters(_, context), - RunCommand: (_) => _json(_), - StepFunctions: (_) => _json(_), + RunCommand: _json, + StepFunctions: _json, }); }; @@ -12661,9 +12661,9 @@ const se_OpsAggregator = (input: OpsAggregator, context: __SerdeContext): any => AggregatorType: [], Aggregators: (_) => se_OpsAggregatorList(_, context), AttributeName: [], - Filters: (_) => _json(_), + Filters: _json, TypeName: [], - Values: (_) => _json(_), + Values: _json, }); }; @@ -12780,7 +12780,7 @@ const se_PutComplianceItemsRequest = (input: PutComplianceItemsRequest, context: ComplianceType: [], ExecutionSummary: (_) => se_ComplianceExecutionSummary(_, context), ItemContentHash: [], - Items: (_) => _json(_), + Items: _json, ResourceId: [], ResourceType: [], UploadType: [], @@ -12812,7 +12812,7 @@ const se_RegisterTargetWithMaintenanceWindowRequest = ( Name: [], OwnerInformation: [], ResourceType: [], - Targets: (_) => _json(_), + Targets: _json, WindowId: [], }); }; @@ -12825,20 +12825,20 @@ const se_RegisterTaskWithMaintenanceWindowRequest = ( context: __SerdeContext ): any => { return take(input, { - AlarmConfiguration: (_) => _json(_), + AlarmConfiguration: _json, ClientToken: (_) => _ ?? generateIdempotencyToken(), CutoffBehavior: [], Description: [], - LoggingInfo: (_) => _json(_), + LoggingInfo: _json, MaxConcurrency: [], MaxErrors: [], Name: [], Priority: [], ServiceRoleArn: [], - Targets: (_) => _json(_), + Targets: _json, TaskArn: [], TaskInvocationParameters: (_) => se_MaintenanceWindowTaskInvocationParameters(_, context), - TaskParameters: (_) => _json(_), + TaskParameters: _json, TaskType: [], WindowId: [], }); @@ -12912,11 +12912,11 @@ const se_StartChangeRequestExecutionRequest = ( ClientToken: [], DocumentName: [], DocumentVersion: [], - Parameters: (_) => _json(_), - Runbooks: (_) => _json(_), + Parameters: _json, + Runbooks: _json, ScheduledEndTime: (_) => Math.round(_.getTime() / 1000), ScheduledTime: (_) => Math.round(_.getTime() / 1000), - Tags: (_) => _json(_), + Tags: _json, }); }; @@ -12987,20 +12987,20 @@ const se_UpdateMaintenanceWindowTaskRequest = ( context: __SerdeContext ): any => { return take(input, { - AlarmConfiguration: (_) => _json(_), + AlarmConfiguration: _json, CutoffBehavior: [], Description: [], - LoggingInfo: (_) => _json(_), + LoggingInfo: _json, MaxConcurrency: [], MaxErrors: [], Name: [], Priority: [], Replace: [], ServiceRoleArn: [], - Targets: (_) => _json(_), + Targets: _json, TaskArn: [], TaskInvocationParameters: (_) => se_MaintenanceWindowTaskInvocationParameters(_, context), - TaskParameters: (_) => _json(_), + TaskParameters: _json, WindowId: [], WindowTaskId: [], }); @@ -13017,15 +13017,15 @@ const se_UpdateOpsItemRequest = (input: UpdateOpsItemRequest, context: __SerdeCo ActualStartTime: (_) => Math.round(_.getTime() / 1000), Category: [], Description: [], - Notifications: (_) => _json(_), - OperationalData: (_) => _json(_), - OperationalDataToDelete: (_) => _json(_), + Notifications: _json, + OperationalData: _json, + OperationalDataToDelete: _json, OpsItemArn: [], OpsItemId: [], PlannedEndTime: (_) => Math.round(_.getTime() / 1000), PlannedStartTime: (_) => Math.round(_.getTime() / 1000), Priority: [], - RelatedOpsItems: (_) => _json(_), + RelatedOpsItems: _json, Severity: [], Status: [], Title: [], diff --git a/clients/client-support/src/protocols/Aws_json1_1.ts b/clients/client-support/src/protocols/Aws_json1_1.ts index 410920d803ebb..c7679ed55032f 100644 --- a/clients/client-support/src/protocols/Aws_json1_1.ts +++ b/clients/client-support/src/protocols/Aws_json1_1.ts @@ -1121,7 +1121,7 @@ const se_AddAttachmentsToSetRequest = (input: AddAttachmentsToSetRequest, contex */ const se_Attachment = (input: Attachment, context: __SerdeContext): any => { return take(input, { - data: (_) => context.base64Encoder(_), + data: context.base64Encoder, fileName: [], }); }; diff --git a/clients/client-swf/src/protocols/Aws_json1_0.ts b/clients/client-swf/src/protocols/Aws_json1_0.ts index da6feec4e5d85..6886ab98de68e 100644 --- a/clients/client-swf/src/protocols/Aws_json1_0.ts +++ b/clients/client-swf/src/protocols/Aws_json1_0.ts @@ -2701,13 +2701,13 @@ const se_CountClosedWorkflowExecutionsInput = ( context: __SerdeContext ): any => { return take(input, { - closeStatusFilter: (_) => _json(_), + closeStatusFilter: _json, closeTimeFilter: (_) => se_ExecutionTimeFilter(_, context), domain: [], - executionFilter: (_) => _json(_), + executionFilter: _json, startTimeFilter: (_) => se_ExecutionTimeFilter(_, context), - tagFilter: (_) => _json(_), - typeFilter: (_) => _json(_), + tagFilter: _json, + typeFilter: _json, }); }; @@ -2717,10 +2717,10 @@ const se_CountClosedWorkflowExecutionsInput = ( const se_CountOpenWorkflowExecutionsInput = (input: CountOpenWorkflowExecutionsInput, context: __SerdeContext): any => { return take(input, { domain: [], - executionFilter: (_) => _json(_), + executionFilter: _json, startTimeFilter: (_) => se_ExecutionTimeFilter(_, context), - tagFilter: (_) => _json(_), - typeFilter: (_) => _json(_), + tagFilter: _json, + typeFilter: _json, }); }; @@ -2770,16 +2770,16 @@ const se_ListClosedWorkflowExecutionsInput = ( context: __SerdeContext ): any => { return take(input, { - closeStatusFilter: (_) => _json(_), + closeStatusFilter: _json, closeTimeFilter: (_) => se_ExecutionTimeFilter(_, context), domain: [], - executionFilter: (_) => _json(_), + executionFilter: _json, maximumPageSize: [], nextPageToken: [], reverseOrder: [], startTimeFilter: (_) => se_ExecutionTimeFilter(_, context), - tagFilter: (_) => _json(_), - typeFilter: (_) => _json(_), + tagFilter: _json, + typeFilter: _json, }); }; @@ -2791,13 +2791,13 @@ const se_ListClosedWorkflowExecutionsInput = ( const se_ListOpenWorkflowExecutionsInput = (input: ListOpenWorkflowExecutionsInput, context: __SerdeContext): any => { return take(input, { domain: [], - executionFilter: (_) => _json(_), + executionFilter: _json, maximumPageSize: [], nextPageToken: [], reverseOrder: [], startTimeFilter: (_) => se_ExecutionTimeFilter(_, context), - tagFilter: (_) => _json(_), - typeFilter: (_) => _json(_), + tagFilter: _json, + typeFilter: _json, }); }; diff --git a/clients/client-synthetics/src/protocols/Aws_restJson1.ts b/clients/client-synthetics/src/protocols/Aws_restJson1.ts index 02034071d66e4..509219494ca38 100644 --- a/clients/client-synthetics/src/protocols/Aws_restJson1.ts +++ b/clients/client-synthetics/src/protocols/Aws_restJson1.ts @@ -2064,7 +2064,7 @@ const se_CanaryCodeInput = (input: CanaryCodeInput, context: __SerdeContext): an S3Bucket: [], S3Key: [], S3Version: [], - ZipFile: (_) => context.base64Encoder(_), + ZipFile: context.base64Encoder, }); }; diff --git a/clients/client-textract/src/protocols/Aws_json1_1.ts b/clients/client-textract/src/protocols/Aws_json1_1.ts index afef29c444bec..8735aa327c4e8 100644 --- a/clients/client-textract/src/protocols/Aws_json1_1.ts +++ b/clients/client-textract/src/protocols/Aws_json1_1.ts @@ -1451,9 +1451,9 @@ const de_UnsupportedDocumentExceptionRes = async ( const se_AnalyzeDocumentRequest = (input: AnalyzeDocumentRequest, context: __SerdeContext): any => { return take(input, { Document: (_) => se_Document(_, context), - FeatureTypes: (_) => _json(_), - HumanLoopConfig: (_) => _json(_), - QueriesConfig: (_) => _json(_), + FeatureTypes: _json, + HumanLoopConfig: _json, + QueriesConfig: _json, }); }; @@ -1491,8 +1491,8 @@ const se_DetectDocumentTextRequest = (input: DetectDocumentTextRequest, context: */ const se_Document = (input: Document, context: __SerdeContext): any => { return take(input, { - Bytes: (_) => context.base64Encoder(_), - S3Object: (_) => _json(_), + Bytes: context.base64Encoder, + S3Object: _json, }); }; diff --git a/clients/client-timestream-query/src/protocols/Aws_json1_0.ts b/clients/client-timestream-query/src/protocols/Aws_json1_0.ts index 1a99e8bae2c03..9327782b1b350 100644 --- a/clients/client-timestream-query/src/protocols/Aws_json1_0.ts +++ b/clients/client-timestream-query/src/protocols/Aws_json1_0.ts @@ -1168,15 +1168,15 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont const se_CreateScheduledQueryRequest = (input: CreateScheduledQueryRequest, context: __SerdeContext): any => { return take(input, { ClientToken: (_) => _ ?? generateIdempotencyToken(), - ErrorReportConfiguration: (_) => _json(_), + ErrorReportConfiguration: _json, KmsKeyId: [], Name: [], - NotificationConfiguration: (_) => _json(_), + NotificationConfiguration: _json, QueryString: [], - ScheduleConfiguration: (_) => _json(_), + ScheduleConfiguration: _json, ScheduledQueryExecutionRoleArn: [], - Tags: (_) => _json(_), - TargetConfiguration: (_) => _json(_), + Tags: _json, + TargetConfiguration: _json, }); }; diff --git a/clients/client-timestream-write/src/protocols/Aws_json1_0.ts b/clients/client-timestream-write/src/protocols/Aws_json1_0.ts index da038ca73859b..36b7e73310741 100644 --- a/clients/client-timestream-write/src/protocols/Aws_json1_0.ts +++ b/clients/client-timestream-write/src/protocols/Aws_json1_0.ts @@ -1648,10 +1648,10 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont const se_CreateBatchLoadTaskRequest = (input: CreateBatchLoadTaskRequest, context: __SerdeContext): any => { return take(input, { ClientToken: (_) => _ ?? generateIdempotencyToken(), - DataModelConfiguration: (_) => _json(_), - DataSourceConfiguration: (_) => _json(_), + DataModelConfiguration: _json, + DataSourceConfiguration: _json, RecordVersion: [], - ReportConfiguration: (_) => _json(_), + ReportConfiguration: _json, TargetDatabaseName: [], TargetTableName: [], }); diff --git a/clients/client-transfer/src/protocols/Aws_json1_1.ts b/clients/client-transfer/src/protocols/Aws_json1_1.ts index 2e6b7eddb64ae..4d6d9cdb794f6 100644 --- a/clients/client-transfer/src/protocols/Aws_json1_1.ts +++ b/clients/client-transfer/src/protocols/Aws_json1_1.ts @@ -4472,7 +4472,7 @@ const se_ImportCertificateRequest = (input: ImportCertificateRequest, context: _ Description: [], InactiveDate: (_) => Math.round(_.getTime() / 1000), PrivateKey: [], - Tags: (_) => _json(_), + Tags: _json, Usage: [], }); }; diff --git a/clients/client-translate/src/protocols/Aws_json1_1.ts b/clients/client-translate/src/protocols/Aws_json1_1.ts index c0543df493fd6..ba0eb964b6a9f 100644 --- a/clients/client-translate/src/protocols/Aws_json1_1.ts +++ b/clients/client-translate/src/protocols/Aws_json1_1.ts @@ -1610,10 +1610,10 @@ const se_CreateParallelDataRequest = (input: CreateParallelDataRequest, context: return take(input, { ClientToken: (_) => _ ?? generateIdempotencyToken(), Description: [], - EncryptionKey: (_) => _json(_), + EncryptionKey: _json, Name: [], - ParallelDataConfig: (_) => _json(_), - Tags: (_) => _json(_), + ParallelDataConfig: _json, + Tags: _json, }); }; @@ -1635,10 +1635,10 @@ const se_CreateParallelDataRequest = (input: CreateParallelDataRequest, context: const se_ImportTerminologyRequest = (input: ImportTerminologyRequest, context: __SerdeContext): any => { return take(input, { Description: [], - EncryptionKey: (_) => _json(_), + EncryptionKey: _json, MergeStrategy: [], Name: [], - Tags: (_) => _json(_), + Tags: _json, TerminologyData: (_) => se_TerminologyData(_, context), }); }; @@ -1677,14 +1677,14 @@ const se_StartTextTranslationJobRequest = (input: StartTextTranslationJobRequest return take(input, { ClientToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, JobName: [], - OutputDataConfig: (_) => _json(_), - ParallelDataNames: (_) => _json(_), - Settings: (_) => _json(_), + OutputDataConfig: _json, + ParallelDataNames: _json, + Settings: _json, SourceLanguageCode: [], - TargetLanguageCodes: (_) => _json(_), - TerminologyNames: (_) => _json(_), + TargetLanguageCodes: _json, + TerminologyNames: _json, }); }; @@ -1706,7 +1706,7 @@ const se_StartTextTranslationJobRequest = (input: StartTextTranslationJobRequest const se_TerminologyData = (input: TerminologyData, context: __SerdeContext): any => { return take(input, { Directionality: [], - File: (_) => context.base64Encoder(_), + File: context.base64Encoder, Format: [], }); }; @@ -1737,7 +1737,7 @@ const se_UpdateParallelDataRequest = (input: UpdateParallelDataRequest, context: ClientToken: (_) => _ ?? generateIdempotencyToken(), Description: [], Name: [], - ParallelDataConfig: (_) => _json(_), + ParallelDataConfig: _json, }); }; diff --git a/clients/client-voice-id/src/protocols/Aws_json1_0.ts b/clients/client-voice-id/src/protocols/Aws_json1_0.ts index c53b3810cdc7f..ffce368fb3617 100644 --- a/clients/client-voice-id/src/protocols/Aws_json1_0.ts +++ b/clients/client-voice-id/src/protocols/Aws_json1_0.ts @@ -2379,8 +2379,8 @@ const se_CreateDomainRequest = (input: CreateDomainRequest, context: __SerdeCont ClientToken: (_) => _ ?? generateIdempotencyToken(), Description: [], Name: [], - ServerSideEncryptionConfiguration: (_) => _json(_), - Tags: (_) => _json(_), + ServerSideEncryptionConfiguration: _json, + Tags: _json, }); }; @@ -2463,10 +2463,10 @@ const se_StartFraudsterRegistrationJobRequest = ( ClientToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], DomainId: [], - InputDataConfig: (_) => _json(_), + InputDataConfig: _json, JobName: [], - OutputDataConfig: (_) => _json(_), - RegistrationConfig: (_) => _json(_), + OutputDataConfig: _json, + RegistrationConfig: _json, }); }; @@ -2478,10 +2478,10 @@ const se_StartSpeakerEnrollmentJobRequest = (input: StartSpeakerEnrollmentJobReq ClientToken: (_) => _ ?? generateIdempotencyToken(), DataAccessRoleArn: [], DomainId: [], - EnrollmentConfig: (_) => _json(_), - InputDataConfig: (_) => _json(_), + EnrollmentConfig: _json, + InputDataConfig: _json, JobName: [], - OutputDataConfig: (_) => _json(_), + OutputDataConfig: _json, }); }; diff --git a/clients/client-waf-regional/src/protocols/Aws_json1_1.ts b/clients/client-waf-regional/src/protocols/Aws_json1_1.ts index 02f0480bab55d..981b61cf99a4e 100644 --- a/clients/client-waf-regional/src/protocols/Aws_json1_1.ts +++ b/clients/client-waf-regional/src/protocols/Aws_json1_1.ts @@ -6406,9 +6406,9 @@ const se_ByteMatchSetUpdates = (input: ByteMatchSetUpdate[], context: __SerdeCon */ const se_ByteMatchTuple = (input: ByteMatchTuple, context: __SerdeContext): any => { return take(input, { - FieldToMatch: (_) => _json(_), + FieldToMatch: _json, PositionalConstraint: [], - TargetString: (_) => context.base64Encoder(_), + TargetString: context.base64Encoder, TextTransformation: [], }); }; diff --git a/clients/client-waf/src/protocols/Aws_json1_1.ts b/clients/client-waf/src/protocols/Aws_json1_1.ts index a89b8d9da14c0..1d5ead5273d3a 100644 --- a/clients/client-waf/src/protocols/Aws_json1_1.ts +++ b/clients/client-waf/src/protocols/Aws_json1_1.ts @@ -6095,9 +6095,9 @@ const se_ByteMatchSetUpdates = (input: ByteMatchSetUpdate[], context: __SerdeCon */ const se_ByteMatchTuple = (input: ByteMatchTuple, context: __SerdeContext): any => { return take(input, { - FieldToMatch: (_) => _json(_), + FieldToMatch: _json, PositionalConstraint: [], - TargetString: (_) => context.base64Encoder(_), + TargetString: context.base64Encoder, TextTransformation: [], }); }; diff --git a/clients/client-wafv2/src/protocols/Aws_json1_1.ts b/clients/client-wafv2/src/protocols/Aws_json1_1.ts index d57210ffa940a..147103c6ea7e1 100644 --- a/clients/client-wafv2/src/protocols/Aws_json1_1.ts +++ b/clients/client-wafv2/src/protocols/Aws_json1_1.ts @@ -4119,10 +4119,10 @@ const se_AndStatement = (input: AndStatement, context: __SerdeContext): any => { */ const se_ByteMatchStatement = (input: ByteMatchStatement, context: __SerdeContext): any => { return take(input, { - FieldToMatch: (_) => _json(_), + FieldToMatch: _json, PositionalConstraint: [], - SearchString: (_) => context.base64Encoder(_), - TextTransformations: (_) => _json(_), + SearchString: context.base64Encoder, + TextTransformations: _json, }); }; @@ -4168,13 +4168,13 @@ const se_CheckCapacityRequest = (input: CheckCapacityRequest, context: __SerdeCo const se_CreateRuleGroupRequest = (input: CreateRuleGroupRequest, context: __SerdeContext): any => { return take(input, { Capacity: [], - CustomResponseBodies: (_) => _json(_), + CustomResponseBodies: _json, Description: [], Name: [], Rules: (_) => se_Rules(_, context), Scope: [], - Tags: (_) => _json(_), - VisibilityConfig: (_) => _json(_), + Tags: _json, + VisibilityConfig: _json, }); }; @@ -4183,18 +4183,18 @@ const se_CreateRuleGroupRequest = (input: CreateRuleGroupRequest, context: __Ser */ const se_CreateWebACLRequest = (input: CreateWebACLRequest, context: __SerdeContext): any => { return take(input, { - AssociationConfig: (_) => _json(_), - CaptchaConfig: (_) => _json(_), - ChallengeConfig: (_) => _json(_), - CustomResponseBodies: (_) => _json(_), - DefaultAction: (_) => _json(_), + AssociationConfig: _json, + CaptchaConfig: _json, + ChallengeConfig: _json, + CustomResponseBodies: _json, + DefaultAction: _json, Description: [], Name: [], Rules: (_) => se_Rules(_, context), Scope: [], - Tags: (_) => _json(_), - TokenDomains: (_) => _json(_), - VisibilityConfig: (_) => _json(_), + Tags: _json, + TokenDomains: _json, + VisibilityConfig: _json, }); }; @@ -4344,10 +4344,10 @@ const se_GetSampledRequestsRequest = (input: GetSampledRequestsRequest, context: */ const se_ManagedRuleGroupStatement = (input: ManagedRuleGroupStatement, context: __SerdeContext): any => { return take(input, { - ExcludedRules: (_) => _json(_), - ManagedRuleGroupConfigs: (_) => _json(_), + ExcludedRules: _json, + ManagedRuleGroupConfigs: _json, Name: [], - RuleActionOverrides: (_) => _json(_), + RuleActionOverrides: _json, ScopeDownStatement: (_) => se_Statement(_, context), VendorName: [], Version: [], @@ -4394,7 +4394,7 @@ const se_OrStatement = (input: OrStatement, context: __SerdeContext): any => { const se_RateBasedStatement = (input: RateBasedStatement, context: __SerdeContext): any => { return take(input, { AggregateKeyType: [], - ForwardedIPConfig: (_) => _json(_), + ForwardedIPConfig: _json, Limit: [], ScopeDownStatement: (_) => se_Statement(_, context), }); @@ -4447,15 +4447,15 @@ const se_RateBasedStatement = (input: RateBasedStatement, context: __SerdeContex */ const se_Rule = (input: Rule, context: __SerdeContext): any => { return take(input, { - Action: (_) => _json(_), - CaptchaConfig: (_) => _json(_), - ChallengeConfig: (_) => _json(_), + Action: _json, + CaptchaConfig: _json, + ChallengeConfig: _json, Name: [], - OverrideAction: (_) => _json(_), + OverrideAction: _json, Priority: [], - RuleLabels: (_) => _json(_), + RuleLabels: _json, Statement: (_) => se_Statement(_, context), - VisibilityConfig: (_) => _json(_), + VisibilityConfig: _json, }); }; @@ -4493,19 +4493,19 @@ const se_Statement = (input: Statement, context: __SerdeContext): any => { return take(input, { AndStatement: (_) => se_AndStatement(_, context), ByteMatchStatement: (_) => se_ByteMatchStatement(_, context), - GeoMatchStatement: (_) => _json(_), - IPSetReferenceStatement: (_) => _json(_), - LabelMatchStatement: (_) => _json(_), + GeoMatchStatement: _json, + IPSetReferenceStatement: _json, + LabelMatchStatement: _json, ManagedRuleGroupStatement: (_) => se_ManagedRuleGroupStatement(_, context), NotStatement: (_) => se_NotStatement(_, context), OrStatement: (_) => se_OrStatement(_, context), RateBasedStatement: (_) => se_RateBasedStatement(_, context), - RegexMatchStatement: (_) => _json(_), - RegexPatternSetReferenceStatement: (_) => _json(_), - RuleGroupReferenceStatement: (_) => _json(_), - SizeConstraintStatement: (_) => _json(_), - SqliMatchStatement: (_) => _json(_), - XssMatchStatement: (_) => _json(_), + RegexMatchStatement: _json, + RegexPatternSetReferenceStatement: _json, + RuleGroupReferenceStatement: _json, + SizeConstraintStatement: _json, + SqliMatchStatement: _json, + XssMatchStatement: _json, }); }; @@ -4572,14 +4572,14 @@ const se_UpdateManagedRuleSetVersionExpiryDateRequest = ( */ const se_UpdateRuleGroupRequest = (input: UpdateRuleGroupRequest, context: __SerdeContext): any => { return take(input, { - CustomResponseBodies: (_) => _json(_), + CustomResponseBodies: _json, Description: [], Id: [], LockToken: [], Name: [], Rules: (_) => se_Rules(_, context), Scope: [], - VisibilityConfig: (_) => _json(_), + VisibilityConfig: _json, }); }; @@ -4588,19 +4588,19 @@ const se_UpdateRuleGroupRequest = (input: UpdateRuleGroupRequest, context: __Ser */ const se_UpdateWebACLRequest = (input: UpdateWebACLRequest, context: __SerdeContext): any => { return take(input, { - AssociationConfig: (_) => _json(_), - CaptchaConfig: (_) => _json(_), - ChallengeConfig: (_) => _json(_), - CustomResponseBodies: (_) => _json(_), - DefaultAction: (_) => _json(_), + AssociationConfig: _json, + CaptchaConfig: _json, + ChallengeConfig: _json, + CustomResponseBodies: _json, + DefaultAction: _json, Description: [], Id: [], LockToken: [], Name: [], Rules: (_) => se_Rules(_, context), Scope: [], - TokenDomains: (_) => _json(_), - VisibilityConfig: (_) => _json(_), + TokenDomains: _json, + VisibilityConfig: _json, }); }; diff --git a/clients/client-workdocs/src/protocols/Aws_restJson1.ts b/clients/client-workdocs/src/protocols/Aws_restJson1.ts index 18aa41385a3f7..979f4b2e24367 100644 --- a/clients/client-workdocs/src/protocols/Aws_restJson1.ts +++ b/clients/client-workdocs/src/protocols/Aws_restJson1.ts @@ -4854,16 +4854,16 @@ const se_DateRangeType = (input: DateRangeType, context: __SerdeContext): any => */ const se_Filters = (input: Filters, context: __SerdeContext): any => { return take(input, { - AncestorIds: (_) => _json(_), - ContentCategories: (_) => _json(_), + AncestorIds: _json, + ContentCategories: _json, CreatedRange: (_) => se_DateRangeType(_, context), - Labels: (_) => _json(_), + Labels: _json, ModifiedRange: (_) => se_DateRangeType(_, context), - Principals: (_) => _json(_), - ResourceTypes: (_) => _json(_), - SearchCollectionTypes: (_) => _json(_), - SizeRange: (_) => _json(_), - TextLocales: (_) => _json(_), + Principals: _json, + ResourceTypes: _json, + SearchCollectionTypes: _json, + SizeRange: _json, + TextLocales: _json, }); }; diff --git a/clients/client-workmail/src/protocols/Aws_json1_1.ts b/clients/client-workmail/src/protocols/Aws_json1_1.ts index 2a056bf2ac4dc..ac7296e823a40 100644 --- a/clients/client-workmail/src/protocols/Aws_json1_1.ts +++ b/clients/client-workmail/src/protocols/Aws_json1_1.ts @@ -6358,8 +6358,8 @@ const se_CreateAvailabilityConfigurationRequest = ( return take(input, { ClientToken: (_) => _ ?? generateIdempotencyToken(), DomainName: [], - EwsProvider: (_) => _json(_), - LambdaProvider: (_) => _json(_), + EwsProvider: _json, + LambdaProvider: _json, OrganizationId: [], }); }; @@ -6375,7 +6375,7 @@ const se_CreateImpersonationRoleRequest = (input: CreateImpersonationRoleRequest Description: [], Name: [], OrganizationId: [], - Rules: (_) => _json(_), + Rules: _json, Type: [], }); }; @@ -6390,16 +6390,16 @@ const se_CreateMobileDeviceAccessRuleRequest = ( return take(input, { ClientToken: (_) => _ ?? generateIdempotencyToken(), Description: [], - DeviceModels: (_) => _json(_), - DeviceOperatingSystems: (_) => _json(_), - DeviceTypes: (_) => _json(_), - DeviceUserAgents: (_) => _json(_), + DeviceModels: _json, + DeviceOperatingSystems: _json, + DeviceTypes: _json, + DeviceUserAgents: _json, Effect: [], Name: [], - NotDeviceModels: (_) => _json(_), - NotDeviceOperatingSystems: (_) => _json(_), - NotDeviceTypes: (_) => _json(_), - NotDeviceUserAgents: (_) => _json(_), + NotDeviceModels: _json, + NotDeviceOperatingSystems: _json, + NotDeviceTypes: _json, + NotDeviceUserAgents: _json, OrganizationId: [], }); }; @@ -6412,7 +6412,7 @@ const se_CreateOrganizationRequest = (input: CreateOrganizationRequest, context: Alias: [], ClientToken: (_) => _ ?? generateIdempotencyToken(), DirectoryId: [], - Domains: (_) => _json(_), + Domains: _json, EnableInteroperability: [], KmsKeyArn: [], }); diff --git a/clients/client-workspaces/src/protocols/Aws_json1_1.ts b/clients/client-workspaces/src/protocols/Aws_json1_1.ts index 74a6d0e28c159..574328711293f 100644 --- a/clients/client-workspaces/src/protocols/Aws_json1_1.ts +++ b/clients/client-workspaces/src/protocols/Aws_json1_1.ts @@ -4962,8 +4962,8 @@ const se_DefaultImportClientBrandingAttributes = ( ): any => { return take(input, { ForgotPasswordLink: [], - LoginMessage: (_) => _json(_), - Logo: (_) => context.base64Encoder(_), + LoginMessage: _json, + Logo: context.base64Encoder, SupportEmail: [], SupportLink: [], }); @@ -5053,10 +5053,10 @@ const se_IosImportClientBrandingAttributes = ( ): any => { return take(input, { ForgotPasswordLink: [], - LoginMessage: (_) => _json(_), - Logo: (_) => context.base64Encoder(_), - Logo2x: (_) => context.base64Encoder(_), - Logo3x: (_) => context.base64Encoder(_), + LoginMessage: _json, + Logo: context.base64Encoder, + Logo2x: context.base64Encoder, + Logo3x: context.base64Encoder, SupportEmail: [], SupportLink: [], }); diff --git a/clients/client-xray/src/protocols/Aws_restJson1.ts b/clients/client-xray/src/protocols/Aws_restJson1.ts index 9d0f741645692..8de2e827bcea8 100644 --- a/clients/client-xray/src/protocols/Aws_restJson1.ts +++ b/clients/client-xray/src/protocols/Aws_restJson1.ts @@ -2796,8 +2796,8 @@ const de_TooManyTagsExceptionRes = async ( */ const se_SamplingRule = (input: SamplingRule, context: __SerdeContext): any => { return take(input, { - Attributes: (_) => _json(_), - FixedRate: (_) => __serializeFloat(_), + Attributes: _json, + FixedRate: __serializeFloat, HTTPMethod: [], Host: [], Priority: [], @@ -2817,8 +2817,8 @@ const se_SamplingRule = (input: SamplingRule, context: __SerdeContext): any => { */ const se_SamplingRuleUpdate = (input: SamplingRuleUpdate, context: __SerdeContext): any => { return take(input, { - Attributes: (_) => _json(_), - FixedRate: (_) => __serializeFloat(_), + Attributes: _json, + FixedRate: __serializeFloat, HTTPMethod: [], Host: [], Priority: [], @@ -2863,7 +2863,7 @@ const se_SamplingStatisticsDocumentList = (input: SamplingStatisticsDocument[], const se_SamplingStrategy = (input: SamplingStrategy, context: __SerdeContext): any => { return take(input, { Name: [], - Value: (_) => __serializeFloat(_), + Value: __serializeFloat, }); }; @@ -2878,7 +2878,7 @@ const se_SamplingStrategy = (input: SamplingStrategy, context: __SerdeContext): */ const se_TelemetryRecord = (input: TelemetryRecord, context: __SerdeContext): any => { return take(input, { - BackendConnectionErrors: (_) => _json(_), + BackendConnectionErrors: _json, SegmentsReceivedCount: [], SegmentsRejectedCount: [], SegmentsSentCount: [], diff --git a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/JsonShapeSerVisitor.java b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/JsonShapeSerVisitor.java index be50915e5e594..23f954988658f 100644 --- a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/JsonShapeSerVisitor.java +++ b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/JsonShapeSerVisitor.java @@ -37,6 +37,7 @@ import software.amazon.smithy.typescript.codegen.integration.DocumentMemberSerVisitor; import software.amazon.smithy.typescript.codegen.integration.DocumentShapeSerVisitor; import software.amazon.smithy.typescript.codegen.integration.ProtocolGenerator.GenerationContext; +import software.amazon.smithy.typescript.codegen.validation.UnaryFunctionCall; import software.amazon.smithy.utils.SmithyInternalApi; /** diff --git a/private/aws-protocoltests-json-10/src/protocols/Aws_json1_0.ts b/private/aws-protocoltests-json-10/src/protocols/Aws_json1_0.ts index 3a046cd055089..723f56d96b09e 100644 --- a/private/aws-protocoltests-json-10/src/protocols/Aws_json1_0.ts +++ b/private/aws-protocoltests-json-10/src/protocols/Aws_json1_0.ts @@ -635,8 +635,8 @@ const se_MyUnion = (input: MyUnion, context: __SerdeContext): any => { */ const se_SimpleScalarPropertiesInput = (input: SimpleScalarPropertiesInput, context: __SerdeContext): any => { return take(input, { - doubleValue: (_) => __serializeFloat(_), - floatValue: (_) => __serializeFloat(_), + doubleValue: __serializeFloat, + floatValue: __serializeFloat, }); }; diff --git a/private/aws-protocoltests-json/src/protocols/Aws_json1_1.ts b/private/aws-protocoltests-json/src/protocols/Aws_json1_1.ts index 786b1a2d5a98d..17ccf62404dbe 100644 --- a/private/aws-protocoltests-json/src/protocols/Aws_json1_1.ts +++ b/private/aws-protocoltests-json/src/protocols/Aws_json1_1.ts @@ -938,28 +938,28 @@ const se_Document = (input: __DocumentType, context: __SerdeContext): any => { */ const se_KitchenSink = (input: KitchenSink, context: __SerdeContext): any => { return take(input, { - Blob: (_) => context.base64Encoder(_), + Blob: context.base64Encoder, Boolean: [], - Double: (_) => __serializeFloat(_), - EmptyStruct: (_) => _json(_), - Float: (_) => __serializeFloat(_), - HttpdateTimestamp: (_) => __dateToUtcString(_), + Double: __serializeFloat, + EmptyStruct: _json, + Float: __serializeFloat, + HttpdateTimestamp: __dateToUtcString, Integer: [], Iso8601Timestamp: (_) => _.toISOString().split(".")[0] + "Z", - JsonValue: (_) => __LazyJsonString.fromObject(_), - ListOfLists: (_) => _json(_), - ListOfMapsOfStrings: (_) => _json(_), - ListOfStrings: (_) => _json(_), - ListOfStructs: (_) => _json(_), + JsonValue: __LazyJsonString.fromObject, + ListOfLists: _json, + ListOfMapsOfStrings: _json, + ListOfStrings: _json, + ListOfStructs: _json, Long: [], - MapOfListsOfStrings: (_) => _json(_), - MapOfMaps: (_) => _json(_), - MapOfStrings: (_) => _json(_), - MapOfStructs: (_) => _json(_), + MapOfListsOfStrings: _json, + MapOfMaps: _json, + MapOfStrings: _json, + MapOfStructs: _json, RecursiveList: (_) => se_ListOfKitchenSinks(_, context), RecursiveMap: (_) => se_MapOfKitchenSinks(_, context), RecursiveStruct: (_) => se_KitchenSink(_, context), - SimpleStruct: (_) => _json(_), + SimpleStruct: _json, String: [], StructWithJsonName: (_) => se_StructWithJsonName(_, context), Timestamp: (_) => Math.round(_.getTime() / 1000), @@ -1058,8 +1058,8 @@ const se_SimpleScalarPropertiesInputOutput = ( context: __SerdeContext ): any => { return take(input, { - doubleValue: (_) => __serializeFloat(_), - floatValue: (_) => __serializeFloat(_), + doubleValue: __serializeFloat, + floatValue: __serializeFloat, }); };