in lib/greengrasscoreipc/model_utils.ts [128:240]
function createValidatorMap() : Map<string, eventstream_rpc.ShapeValidator> {
return new Map<string, eventstream_rpc.ShapeValidator>([
["aws.greengrass#UserProperty", validateUserProperty],
["aws.greengrass#SystemResourceLimits", validateSystemResourceLimits],
["aws.greengrass#DeploymentStatusDetails", validateDeploymentStatusDetails],
["aws.greengrass#MessageContext", validateMessageContext],
["aws.greengrass#RunWithInfo", validateRunWithInfo],
["aws.greengrass#LocalDeployment", validateLocalDeployment],
["aws.greengrass#PostComponentUpdateEvent", validatePostComponentUpdateEvent],
["aws.greengrass#PreComponentUpdateEvent", validatePreComponentUpdateEvent],
["aws.greengrass#ComponentDetails", validateComponentDetails],
["aws.greengrass#CertificateUpdate", validateCertificateUpdate],
["aws.greengrass#BinaryMessage", validateBinaryMessage],
["aws.greengrass#JsonMessage", validateJsonMessage],
["aws.greengrass#MQTTCredential", validateMQTTCredential],
["aws.greengrass#ValidateConfigurationUpdateEvent", validateValidateConfigurationUpdateEvent],
["aws.greengrass#Metric", validateMetric],
["aws.greengrass#ConfigurationUpdateEvent", validateConfigurationUpdateEvent],
["aws.greengrass#MQTTMessage", validateMQTTMessage],
["aws.greengrass#ComponentUpdatePolicyEvents", validateComponentUpdatePolicyEvents],
["aws.greengrass#SecretValue", validateSecretValue],
["aws.greengrass#ConfigurationValidityReport", validateConfigurationValidityReport],
["aws.greengrass#ClientDeviceCredential", validateClientDeviceCredential],
["aws.greengrass#CertificateUpdateEvent", validateCertificateUpdateEvent],
["aws.greengrass#CertificateOptions", validateCertificateOptions],
["aws.greengrass#PublishMessage", validatePublishMessage],
["aws.greengrass#CredentialDocument", validateCredentialDocument],
["aws.greengrass#SubscriptionResponseMessage", validateSubscriptionResponseMessage],
["aws.greengrass#ValidateConfigurationUpdateEvents", validateValidateConfigurationUpdateEvents],
["aws.greengrass#ConfigurationUpdateEvents", validateConfigurationUpdateEvents],
["aws.greengrass#IoTCoreMessage", validateIoTCoreMessage],
["aws.greengrass#InvalidArgumentsError", validateInvalidArgumentsError],
["aws.greengrass#InvalidArtifactsDirectoryPathError", validateInvalidArtifactsDirectoryPathError],
["aws.greengrass#InvalidRecipeDirectoryPathError", validateInvalidRecipeDirectoryPathError],
["aws.greengrass#ServiceError", validateServiceError],
["aws.greengrass#CreateLocalDeploymentResponse", validateCreateLocalDeploymentResponse],
["aws.greengrass#CreateLocalDeploymentRequest", validateCreateLocalDeploymentRequest],
["aws.greengrass#ResourceNotFoundError", validateResourceNotFoundError],
["aws.greengrass#UnauthorizedError", validateUnauthorizedError],
["aws.greengrass#PauseComponentResponse", validatePauseComponentResponse],
["aws.greengrass#PauseComponentRequest", validatePauseComponentRequest],
["aws.greengrass#ComponentNotFoundError", validateComponentNotFoundError],
["aws.greengrass#StopComponentResponse", validateStopComponentResponse],
["aws.greengrass#StopComponentRequest", validateStopComponentRequest],
["aws.greengrass#ListLocalDeploymentsResponse", validateListLocalDeploymentsResponse],
["aws.greengrass#ListLocalDeploymentsRequest", validateListLocalDeploymentsRequest],
["aws.greengrass#SubscribeToComponentUpdatesResponse", validateSubscribeToComponentUpdatesResponse],
["aws.greengrass#SubscribeToComponentUpdatesRequest", validateSubscribeToComponentUpdatesRequest],
["aws.greengrass#ListNamedShadowsForThingResponse", validateListNamedShadowsForThingResponse],
["aws.greengrass#ListNamedShadowsForThingRequest", validateListNamedShadowsForThingRequest],
["aws.greengrass#CancelLocalDeploymentResponse", validateCancelLocalDeploymentResponse],
["aws.greengrass#CancelLocalDeploymentRequest", validateCancelLocalDeploymentRequest],
["aws.greengrass#UpdateStateResponse", validateUpdateStateResponse],
["aws.greengrass#UpdateStateRequest", validateUpdateStateRequest],
["aws.greengrass#GetSecretValueResponse", validateGetSecretValueResponse],
["aws.greengrass#GetSecretValueRequest", validateGetSecretValueRequest],
["aws.greengrass#GetLocalDeploymentStatusResponse", validateGetLocalDeploymentStatusResponse],
["aws.greengrass#GetLocalDeploymentStatusRequest", validateGetLocalDeploymentStatusRequest],
["aws.greengrass#RestartComponentResponse", validateRestartComponentResponse],
["aws.greengrass#RestartComponentRequest", validateRestartComponentRequest],
["aws.greengrass#InvalidTokenError", validateInvalidTokenError],
["aws.greengrass#ValidateAuthorizationTokenResponse", validateValidateAuthorizationTokenResponse],
["aws.greengrass#ValidateAuthorizationTokenRequest", validateValidateAuthorizationTokenRequest],
["aws.greengrass#FailedUpdateConditionCheckError", validateFailedUpdateConditionCheckError],
["aws.greengrass#ConflictError", validateConflictError],
["aws.greengrass#UpdateConfigurationResponse", validateUpdateConfigurationResponse],
["aws.greengrass#UpdateConfigurationRequest", validateUpdateConfigurationRequest],
["aws.greengrass#UpdateThingShadowResponse", validateUpdateThingShadowResponse],
["aws.greengrass#UpdateThingShadowRequest", validateUpdateThingShadowRequest],
["aws.greengrass#SendConfigurationValidityReportResponse", validateSendConfigurationValidityReportResponse],
["aws.greengrass#SendConfigurationValidityReportRequest", validateSendConfigurationValidityReportRequest],
["aws.greengrass#GetThingShadowResponse", validateGetThingShadowResponse],
["aws.greengrass#GetThingShadowRequest", validateGetThingShadowRequest],
["aws.greengrass#CreateDebugPasswordResponse", validateCreateDebugPasswordResponse],
["aws.greengrass#CreateDebugPasswordRequest", validateCreateDebugPasswordRequest],
["aws.greengrass#ListComponentsResponse", validateListComponentsResponse],
["aws.greengrass#ListComponentsRequest", validateListComponentsRequest],
["aws.greengrass#InvalidClientDeviceAuthTokenError", validateInvalidClientDeviceAuthTokenError],
["aws.greengrass#AuthorizeClientDeviceActionResponse", validateAuthorizeClientDeviceActionResponse],
["aws.greengrass#AuthorizeClientDeviceActionRequest", validateAuthorizeClientDeviceActionRequest],
["aws.greengrass#VerifyClientDeviceIdentityResponse", validateVerifyClientDeviceIdentityResponse],
["aws.greengrass#VerifyClientDeviceIdentityRequest", validateVerifyClientDeviceIdentityRequest],
["aws.greengrass#SubscribeToCertificateUpdatesResponse", validateSubscribeToCertificateUpdatesResponse],
["aws.greengrass#SubscribeToCertificateUpdatesRequest", validateSubscribeToCertificateUpdatesRequest],
["aws.greengrass#PublishToTopicResponse", validatePublishToTopicResponse],
["aws.greengrass#PublishToTopicRequest", validatePublishToTopicRequest],
["aws.greengrass#InvalidCredentialError", validateInvalidCredentialError],
["aws.greengrass#GetClientDeviceAuthTokenResponse", validateGetClientDeviceAuthTokenResponse],
["aws.greengrass#GetClientDeviceAuthTokenRequest", validateGetClientDeviceAuthTokenRequest],
["aws.greengrass#GetComponentDetailsResponse", validateGetComponentDetailsResponse],
["aws.greengrass#GetComponentDetailsRequest", validateGetComponentDetailsRequest],
["aws.greengrass#SubscribeToTopicResponse", validateSubscribeToTopicResponse],
["aws.greengrass#SubscribeToTopicRequest", validateSubscribeToTopicRequest],
["aws.greengrass#GetConfigurationResponse", validateGetConfigurationResponse],
["aws.greengrass#GetConfigurationRequest", validateGetConfigurationRequest],
["aws.greengrass#SubscribeToValidateConfigurationUpdatesResponse", validateSubscribeToValidateConfigurationUpdatesResponse],
["aws.greengrass#SubscribeToValidateConfigurationUpdatesRequest", validateSubscribeToValidateConfigurationUpdatesRequest],
["aws.greengrass#DeferComponentUpdateResponse", validateDeferComponentUpdateResponse],
["aws.greengrass#DeferComponentUpdateRequest", validateDeferComponentUpdateRequest],
["aws.greengrass#PutComponentMetricResponse", validatePutComponentMetricResponse],
["aws.greengrass#PutComponentMetricRequest", validatePutComponentMetricRequest],
["aws.greengrass#DeleteThingShadowResponse", validateDeleteThingShadowResponse],
["aws.greengrass#DeleteThingShadowRequest", validateDeleteThingShadowRequest],
["aws.greengrass#SubscribeToConfigurationUpdateResponse", validateSubscribeToConfigurationUpdateResponse],
["aws.greengrass#SubscribeToConfigurationUpdateRequest", validateSubscribeToConfigurationUpdateRequest],
["aws.greengrass#PublishToIoTCoreResponse", validatePublishToIoTCoreResponse],
["aws.greengrass#PublishToIoTCoreRequest", validatePublishToIoTCoreRequest],
["aws.greengrass#ResumeComponentResponse", validateResumeComponentResponse],
["aws.greengrass#ResumeComponentRequest", validateResumeComponentRequest],
["aws.greengrass#SubscribeToIoTCoreResponse", validateSubscribeToIoTCoreResponse],
["aws.greengrass#SubscribeToIoTCoreRequest", validateSubscribeToIoTCoreRequest]
]);
}